use hotplug2 for serializing hotplug events on 2.6
[openwrt.git] / package / hotplug2 / files / hotplug2.rules
1 DEVICENAME ~~ (tun|tap[0-9]) {
2         makedev /dev/net/%DEVICENAME% 0644
3         next
4 }
5
6 DEVPATH is set {
7         makedev /dev/%DEVICENAME% 0644
8 }
9
10 SUBSYSTEM ~~ (net|button) {
11         exec /sbin/hotplug-call %SUBSYSTEM%;
12 }