From 733afec119e8534adcb40aa407636e196084d7e4 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 23 Jul 2007 02:51:42 +0000 Subject: add watchdog start patch from #1967 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8117 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hotplug2/files/hotplug2.rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules index 4eb762fb01..11faf7b94f 100644 --- a/package/hotplug2/files/hotplug2.rules +++ b/package/hotplug2/files/hotplug2.rules @@ -3,3 +3,8 @@ $include /etc/hotplug2-init.rules SUBSYSTEM ~~ (net|button|usb) { exec /sbin/hotplug-call %SUBSYSTEM%; } + +DEVICENAME ~~ (watchdog) { + exec /sbin/watchdog -t 10 /dev/watchdog; + next +} -- cgit v1.2.3