projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
base-files: only try to execute watchdog if binary is present
[librecmc/librecmc.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
watchdog
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2008 OpenWrt.org
3
4
START=97
5
start() {
6
[ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
7
watchdog -t 5 /dev/watchdog
8
}