mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
Start the watchdog daemon if a harware watchdog is present
SVN-Revision: 10721
This commit is contained in:
parent
ddc8312267
commit
dd2afbeee3
7
package/base-files/files/etc/init.d/watchdog
Executable file
7
package/base-files/files/etc/init.d/watchdog
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2008 OpenWrt.org
|
||||
|
||||
START=97
|
||||
start() {
|
||||
[ -f /dev/watchtog ] && watchdog -t 5 /dev/watchdog
|
||||
}
|
Loading…
Reference in New Issue
Block a user