unifios-utilities/on-boot-script/manual-install/install.sh
John Dorman 4d25211b76 Updating Org
Signed-off-by: John Dorman <john@boostchicken.dev>
2022-06-24 08:16:09 -07:00

14 lines
588 B
Bash

#!/bin/sh
# Download and install the service
podman exec unifi-os curl -fsSLo /lib/systemd/system/udm-boot.service https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/main/on-boot-script/dpkg-build-files/udm-boot.service
# If you want to manually install this offline,
# Have that file downloaded first, scp it to udm (e.g. /tmp/udm-boot.service)
# Then copy it from host to container with this command:
#
# podman cp /tmp/udm-boot.service unifi-os:/lib/systemd/system/udm-boot.service
# Start the service
podman exec unifi-os systemctl enable --now udm-boot.service