3d7df41ef65c35068e1d1db459913142df99f555
[openwrt/openwrt.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 }