replace the hotplug2 fork handling hack with a better solution implemented in upstrea...
[openwrt-10.03/.git] / package / hotplug2 / files / hotplug2.rules
1 DEVICENAME ~~ (tun|tap[0-9]) {
2         nothrottle
3         makedev /dev/net/%DEVICENAME% 0644
4         next
5 }
6
7 DEVICENAME ~~ (controlC[0-9]|pcmC0D0*) {
8         nothrottle
9         makedev /dev/snd/%DEVICENAME% 0644
10         next
11 }
12
13 DEVPATH is set {
14         nothrottle
15         makedev /dev/%DEVICENAME% 0644
16 }
17
18 FIRMWARE is set {
19         nothrottle
20         exec /sbin/hotplug-call firmware;
21         next
22 }
23
24 SUBSYSTEM ~~ (net|button|usb) {
25         exec /sbin/hotplug-call %SUBSYSTEM%;
26 }