projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
omap24xx: Add working inittab and watchdog init script
[openwrt.git]
/
target
/
linux
/
omap24xx
/
base-files
/
etc
/
init.d
/
watchdog
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2008-2010 OpenWrt.org
3
4
START=97
5
start() {
6
if ! [ -c /dev/watchdog -a -x /sbin/watchdog ]; then
7
echo "WARNING: Watchdog not available. System will reboot soon!"
8
else
9
/sbin/watchdog -T 63 -t 53 /dev/watchdog
10
fi
11
}
12
13
stop() {
14
killall -q watchdog
15
}