mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-21 06:56:46 +02:00
4ca110a5a3
busybox watchdog applet should stop the watchdog before shutting down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21341 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
214 B
Bash
Executable File
13 lines
214 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2008-2010 OpenWrt.org
|
|
|
|
START=97
|
|
start() {
|
|
[ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
|
|
watchdog -t 5 /dev/watchdog
|
|
}
|
|
|
|
stop() {
|
|
killall -q watchdog
|
|
}
|