add shell compatibility patch from #2659
[openwrt.git] / package / base-files / files / etc / hotplug2-init.rules
1
2 DEVICENAME ~~ (null|full|ptmx|tty|zero) {
3 nothrottle
4 makedev /dev/%DEVICENAME% 0666
5 next
6 }
7
8 DEVICENAME ~~ (tun|tap[0-9]) {
9 nothrottle
10 makedev /dev/net/%DEVICENAME% 0644
11 next
12 }
13
14 DEVICENAME ~~ (ppp) {
15 nothrottle
16 makedev /dev/%DEVICENAME% 0600
17 next
18 }
19
20 DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
21 nothrottle
22 makedev /dev/snd/%DEVICENAME% 0644
23 next
24 }
25
26 DEVPATH is set {
27 nothrottle
28 makedev /dev/%DEVICENAME% 0644
29 }
30
31 FIRMWARE is set {
32 nothrottle
33 exec /sbin/hotplug-call firmware;
34 next
35 }
36
37 SUBSYSTEM ~~ button {
38 exec kill -USR1 1 ;
39 }
This page took 0.057564 seconds and 5 git commands to generate.