mirror of https://github.com/hak5/openwrt-owl.git
parent
42233dcf8e
commit
26c83e3248
|
@ -1,13 +1,15 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
|
||||
START=97
|
||||
START=25
|
||||
|
||||
start() {
|
||||
if ! [ -c /dev/watchdog -a -x /sbin/watchdog ]; then
|
||||
[ -c /dev/watchdog -a -x /sbin/watchdog ] || {
|
||||
echo "WARNING: Watchdog not available. System will reboot soon!"
|
||||
else
|
||||
/sbin/watchdog -T 63 -t 53 /dev/watchdog
|
||||
fi
|
||||
return 1
|
||||
}
|
||||
/sbin/watchdog -T 60 -t 50 /dev/watchdog
|
||||
[ -x /usr/bin/schedtool ] && /usr/bin/schedtool -R -p 60 -n -20 $(pidof watchdog)
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
|
|
@ -17,7 +17,8 @@ define Profile/n810-base
|
|||
kmod-input-evdev \
|
||||
kmod-leds-gpio \
|
||||
kmod-usb-tahvo kmod-usb-eth-gadget kmod-usb-net kmod-usb-net-cdc-ether \
|
||||
kmod-n810bm maemo-kexec calvaria
|
||||
kmod-n810bm maemo-kexec calvaria \
|
||||
schedtool
|
||||
endef
|
||||
|
||||
define Profile/n810-base/Description
|
||||
|
|
Loading…
Reference in New Issue