UNVR-NAS/overlay/filesystem/usr/lib/init/boot/ubnt-init.sh
Chris Blake 27713ab79e fix: tune reboot timeout on panic, improve shutdown ulcmd support
* Ensure we have all the right targets for ulcmd-shutdown-hook to show the shutdown message
* Move to an init script that we can use for setup commands, like adjusting our kernel panic timeout.
2024-05-27 13:07:51 -05:00

7 lines
164 B
Bash
Executable file

#!/bin/bash
# Load our kernel modules
/usr/sbin/modprobe ubnthal
# Set our kernel panic timeout SUPER short so we reboot on crash
echo 2 > /proc/sys/kernel/panic