UNVR-NAS/overlay/filesystem/usr/lib/init/boot/ubnt-init.sh
Chris Blake f399e13958
fix: add btrfs support using magic (#5)
* 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
2024-05-30 17:42:12 -05:00

8 lines
189 B
Bash
Executable file

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