Openwrt/package/hotplug2/files/hotplug2.rules

11 lines
242 B
Plaintext
Raw Normal View History

2009-05-28 13:21:58 +00:00
$include /etc/hotplug2-common.rules
SUBSYSTEM ~~ (^net$|^input$|^button$|^usb$|^ieee1394$|^block$|^atm$|^zaptel$|^tty$) {
2009-05-28 13:21:58 +00:00
exec /sbin/hotplug-call %SUBSYSTEM%
}
DEVICENAME == watchdog {
2009-05-28 13:21:58 +00:00
exec /sbin/watchdog -t 5 /dev/watchdog
next-event
2009-05-28 13:21:58 +00:00
}