mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
* potential fix for #71 * use systemctl now argument
This commit is contained in:
parent
be71225ef7
commit
8f7939e77f
@ -56,8 +56,7 @@
|
||||
5. enable it and test
|
||||
|
||||
```sh
|
||||
systemctl enable udmboot
|
||||
systemctl start udmboot
|
||||
systemctl enable --now udmboot
|
||||
```
|
||||
|
||||
6. back to the udm
|
||||
|
@ -23,8 +23,7 @@ case "$1" in
|
||||
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'
|
||||
|
||||
deb-systemd-invoke enable udm-boot
|
||||
deb-systemd-invoke start udm-boot
|
||||
systemctl enable --now udm-boot
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
@ -14,5 +14,4 @@ ExecStart=/etc/init.d/udm.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target" > /etc/systemd/system/udmboot.service
|
||||
|
||||
systemctl enable udmboot
|
||||
systemctl start udmboot
|
||||
systemctl enable --now udmboot
|
||||
|
@ -32,8 +32,7 @@ ExecStart=/etc/init.d/udm.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target" > /etc/systemd/system/udmboot.service
|
||||
|
||||
systemctl enable udmboot
|
||||
systemctl start udmboot
|
||||
systemctl enable --now udmboot
|
||||
' > /tmp/install-unifios.sh
|
||||
|
||||
podman cp /tmp/install-unifios.sh unifi-os:/root/install-unifios.sh
|
||||
|
Loading…
Reference in New Issue
Block a user