mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-03-09 15:40:13 +00:00
fix: migrate UNVR init logic
Let's keep ulcmd for the pro only, and move LED stuff elsewhere.
This commit is contained in:
parent
24d98456e6
commit
6f01afd72b
5 changed files with 26 additions and 29 deletions
|
@ -21,11 +21,11 @@ apt-mark hold linux-image-* # We do not want these, as we run our own kernel!
|
|||
# Setup our services
|
||||
systemctl enable ubnt-init
|
||||
systemctl enable unvr-fan-daemon
|
||||
systemctl enable ulcmd # This runs ubnt-ulcmd.sh!
|
||||
|
||||
# Do we have ulcmd? if so, we are UNVRPRO so enable ulcmd services
|
||||
if [ -f "/usr/bin/ulcmd" ]; then
|
||||
systemctl enable mock-ubnt-api
|
||||
systemctl enable ulcmd
|
||||
systemctl enable ulcmd-reboot-hook
|
||||
systemctl enable ulcmd-shutdown-hook
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue