openwrt/package/hotplug2-old/files/hotplug2.rules

11 lines
214 B
Plaintext

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