projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: add a separate config symbol for 802.11n driver support
[openwrt.git]
/
target
/
linux
/
omap24xx
/
base-files
/
etc
/
init.d
/
watchdog
diff --git
a/target/linux/omap24xx/base-files/etc/init.d/watchdog
b/target/linux/omap24xx/base-files/etc/init.d/watchdog
index
fa5dc43
..
0d042c6
100755
(executable)
--- a/
target/linux/omap24xx/base-files/etc/init.d/watchdog
+++ b/
target/linux/omap24xx/base-files/etc/init.d/watchdog
@@
-1,13
+1,15
@@
#!/bin/sh /etc/rc.common
# Copyright (C) 2008-2010 OpenWrt.org
#!/bin/sh /etc/rc.common
# 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
- /sbin/watchdog -T 63 -t 53 /dev/watchdog
- fi
+ return 1
+ }
+ /sbin/watchdog -T 63 -t 50 /dev/watchdog
+ [ -x /usr/bin/schedtool ] && /usr/bin/schedtool -R -p 60 -n -20 $(pidof watchdog)
}
stop() {
}
stop() {
This page took
0.020432 seconds
and
4
git commands to generate.