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
8 lines
189 B
Bash
Executable file
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
|