1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 05:28:27 +02:00
openwrt-xburst/package/hotplug2/files/hotplug2.rules
jow 1caf373d39 [PATCH] add input subsystem to hotplug rules
This patch adds the input subsystem to the hotplug rules, making it possible to
react on the addition of input devices (e.g. USB numpads).

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-14 22:00:10 +00:00

11 lines
218 B
Plaintext

$include /etc/hotplug2-common.rules
SUBSYSTEM ~~ (net|input|button|usb|platform|ieee1394|block|atm) {
exec /sbin/hotplug-call %SUBSYSTEM%
}
DEVICENAME ~~ (watchdog) {
exec /sbin/watchdog -t 5 /dev/watchdog
next
}