refactor hotplug2 rules, make sure that the default button rule is only used during...
[openwrt.git] / package / hotplug2 / files / hotplug2.rules
1 $include /etc/hotplug2-common.rules
2
3 SUBSYSTEM ~~ (net|button|usb) {
4         exec /sbin/hotplug-call %SUBSYSTEM%;
5 }
6
7 DEVICENAME ~~ (watchdog) {
8         exec /sbin/watchdog -t 5 /dev/watchdog;
9         next
10 }