From 0cbd8a942fd5664553870d2db94d54ea92cc3a1f Mon Sep 17 00:00:00 2001 From: Hamish Guthrie Date: Thu, 28 May 2009 13:21:58 +0000 Subject: [hotplug2] add hotplug2 v1.0 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16136 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hotplug2/files/hotplug2.rules | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/hotplug2/files/hotplug2.rules (limited to 'package/hotplug2/files/hotplug2.rules') diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules new file mode 100644 index 0000000000..8ad81033a7 --- /dev/null +++ b/package/hotplug2/files/hotplug2.rules @@ -0,0 +1,10 @@ +$include /etc/hotplug2-common.rules + +SUBSYSTEM ~~ (net|button|usb|platform|ieee1394|block) { + exec /sbin/hotplug-call %SUBSYSTEM% +} + +DEVICENAME ~~ (watchdog) { + exec /sbin/watchdog -t 5 /dev/watchdog + next +} -- cgit v1.2.3