openwrtv4/package/hotplug2/files/hotplug2.rules
2007-05-05 18:33:18 +00:00

12 lines
196 B
Text

DEVICENAME ~~ (tun|tap[0-9]) {
makedev /dev/net/%DEVICENAME% 0644
next
}
DEVPATH is set {
makedev /dev/%DEVICENAME% 0644
}
SUBSYSTEM ~~ (net|button) {
exec /sbin/hotplug-call %SUBSYSTEM%;
}