From f43b7934d2850c2f545736253a0f8cbe4915fdff Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 13 Mar 2013 18:11:19 +0000 Subject: make basefiles aware of procd Signed-off-by: John Crispin SVN-Revision: 36003 --- package/base-files/files.old/etc/watchdog | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 package/base-files/files.old/etc/watchdog (limited to 'package/base-files/files.old/etc/watchdog') diff --git a/package/base-files/files.old/etc/watchdog b/package/base-files/files.old/etc/watchdog new file mode 100755 index 0000000000..299c891428 --- /dev/null +++ b/package/base-files/files.old/etc/watchdog @@ -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 +} -- cgit v1.2.3