From 5c105d9f3fd086aff195d3849dcf847d6b0bd927 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 5 Oct 2012 10:12:53 +0000 Subject: branch Attitude Adjustment git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33625 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') diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules new file mode 100644 index 000000000..246cc3ab4 --- /dev/null +++ b/package/hotplug2/files/hotplug2.rules @@ -0,0 +1,10 @@ +$include /etc/hotplug2-common.rules + +SUBSYSTEM ~~ (^net$|^input$|^button$|^usb$|^ieee1394$|^block$|^atm$|^zaptel$|^tty$) { + exec /sbin/hotplug-call %SUBSYSTEM% +} + +DEVICENAME == watchdog { + exec /sbin/watchdog -t 5 /dev/watchdog + next-event +} -- cgit v1.2.3