omap24xx: Start watchdog with RT priority

SVN-Revision: 25882
lede-17.01
Michael Büsch 2011-03-06 10:40:04 +00:00
parent 42233dcf8e
commit 26c83e3248
2 changed files with 9 additions and 6 deletions

View File

@ -1,13 +1,15 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2008-2010 OpenWrt.org # Copyright (C) 2008-2010 OpenWrt.org
START=97 START=25
start() { 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!" echo "WARNING: Watchdog not available. System will reboot soon!"
else return 1
/sbin/watchdog -T 63 -t 53 /dev/watchdog }
fi /sbin/watchdog -T 60 -t 50 /dev/watchdog
[ -x /usr/bin/schedtool ] && /usr/bin/schedtool -R -p 60 -n -20 $(pidof watchdog)
} }
stop() { stop() {

View File

@ -17,7 +17,8 @@ define Profile/n810-base
kmod-input-evdev \ kmod-input-evdev \
kmod-leds-gpio \ kmod-leds-gpio \
kmod-usb-tahvo kmod-usb-eth-gadget kmod-usb-net kmod-usb-net-cdc-ether \ 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 endef
define Profile/n810-base/Description define Profile/n810-base/Description