mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
parent
6cb37352d1
commit
39acea281c
@ -17,13 +17,12 @@ set -e
|
||||
# for details, see https://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
alias deb-systemd-invoke='systemctl --no-block --'
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
scp -P "$(cat /etc/unifi-os/ssh_proxy_port)" -o StrictHostKeyChecking=no -q /usr/share/udm-boot/on_boot.sh root@localhost:/mnt/data/on_boot.sh
|
||||
/sbin/ssh-proxy 'chmod +x /mnt/data/on_boot.sh && mkdir -p /mnt/data/on_boot.d'
|
||||
|
||||
systemctl enable --now udm-boot
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
Loading…
Reference in New Issue
Block a user