openwrtv3/package/hotplug2/files/hotplug2.rules

11 lines
185 B
Text
Raw Normal View History

$include /etc/hotplug2-init.rules
SUBSYSTEM ~~ (net|button|usb) {
exec /sbin/hotplug-call %SUBSYSTEM%;
}
DEVICENAME ~~ (watchdog) {
exec /sbin/watchdog -t 10 /dev/watchdog;
next
}