fix firmware loading
[openwrt/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 FIRMWARE is set {
11 exec /sbin/hotplug-call firmware;
12 next
13 }
14
15 SUBSYSTEM ~~ (net|button) {
16 exec /sbin/hotplug-call %SUBSYSTEM%;
17 }