mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-02-15 03:51:54 +00:00
* Use old GPL release from https://github.com/fabianishere/udm-kernel/tree/master to build and steal it's btrfs kernel module + depends. * Can't use full kernel, NIC issues everywhere, so we will just use it for btrfs for OMV. Will move to our own kernel fully if I can get an updated GPL release from Ui. * BONUS: Fixup issue where system would reboot when shutdown from touch screen
9 lines
189 B
Bash
Executable file
9 lines
189 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ "$1" == "poweroff" ]; then
|
|
poweroff --halt
|
|
elif [ "$1" == "reboot" ]; then
|
|
reboot
|
|
else
|
|
echo "Unknown ubnt-systool cmd: $@" >> /tmp/ubnt-systool-unknown.log
|
|
fi
|