diff options
Diffstat (limited to 'package/base-files/files.old/etc/init.d/.svn/text-base/watchdog.svn-base')
-rw-r--r-- | package/base-files/files.old/etc/init.d/.svn/text-base/watchdog.svn-base | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/base-files/files.old/etc/init.d/.svn/text-base/watchdog.svn-base b/package/base-files/files.old/etc/init.d/.svn/text-base/watchdog.svn-base new file mode 100644 index 0000000..299c891 --- /dev/null +++ b/package/base-files/files.old/etc/init.d/.svn/text-base/watchdog.svn-base @@ -0,0 +1,13 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008-2011 OpenWrt.org + +START=97 + +start() { + [ -c /dev/watchdog ] || return 1 + [ -x /sbin/watchdog ] || return 1 + service_start /sbin/watchdog -t 5 /dev/watchdog +} +stop() { + service_stop /sbin/watchdog +} |