Skip to content

Commit d4d4978

Browse files
authored
Better fix for #71, #86 (#106)
1 parent 534ad0e commit d4d4978

File tree

1 file changed

+1
-2
lines changed
  • on-boot-script/dpkg-build-files/debian

1 file changed

+1
-2
lines changed

on-boot-script/dpkg-build-files/debian/postinst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ set -e
1717
# for details, see https://www.debian.org/doc/debian-policy/ or
1818
# the debian-policy package
1919

20+
alias deb-systemd-invoke='systemctl --no-block --'
2021

2122
case "$1" in
2223
configure)
2324
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
2425
/sbin/ssh-proxy 'chmod +x /mnt/data/on_boot.sh && mkdir -p /mnt/data/on_boot.d'
25-
26-
systemctl enable --now udm-boot
2726
;;
2827

2928
abort-upgrade|abort-remove|abort-deconfigure)

0 commit comments

Comments
 (0)