You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/hotplug2/files/hotplug2.rules

13 lines
196 B
Plaintext

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%;
}