mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-02-12 10:31:55 +00:00
fix: bring back ulcmd for startup
This is also used for LED config on the UNVR, which is dumb and should be moved later but for now it is what it is.
This commit is contained in:
parent
00513115e7
commit
24d98456e6
2 changed files with 2 additions and 4 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
|
||||
|
|
|
@ -63,14 +63,12 @@ else
|
|||
# Remove UNVRPRO specific files/services
|
||||
rm "${build_path}/rootfs/etc/ld.so.conf.d/ubnt.conf" \
|
||||
"${build_path}/rootfs/etc/systemd/system/mock-ubnt-api.service" \
|
||||
"${build_path}/rootfs/etc/systemd/system/ulcmd.service" \
|
||||
"${build_path}/rootfs/etc/systemd/system/ulcmd-reboot-hook.service" \
|
||||
"${build_path}/rootfs/etc/systemd/system/ulcmd-shutdown-hook.service" \
|
||||
"${build_path}/rootfs/usr/bin/mock-ubnt-api" \
|
||||
"${build_path}/rootfs/usr/bin/ubnt-systool" \
|
||||
"${build_path}/rootfs/usr/bin/ubnt-tools" \
|
||||
"${build_path}/rootfs/usr/bin/ustorage" \
|
||||
"${build_path}/rootfs/usr/lib/init/boot/ubnt-ulcmd.sh"
|
||||
"${build_path}/rootfs/usr/bin/ustorage"
|
||||
fi
|
||||
|
||||
# Copy over bluetooth firmware files
|
||||
|
|
Loading…
Reference in a new issue