base-files: reload switch settings on /etc/init.d/network start as well
[openwrt.git] / package / base-files / files / etc / hotplug2-common.rules
1
2 DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) {
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 DEVICENAME ~~ (lp[0-9]) {
27 nothrottle
28 makedev /dev/%DEVICENAME% 0644
29 next
30 }
31
32 DEVPATH is set, SUBSYSTEM ~~ (input) {
33 nothrottle
34 makedev /dev/input/%DEVICENAME% 0644
35 }
36
37 DEVICENAME == device-mapper {
38 nothrottle
39 makedev /dev/mapper/control 0600
40 }
41
42
43 DEVPATH is set {
44 nothrottle
45 makedev /dev/%DEVICENAME% 0644
46 }
47
48 FIRMWARE is set {
49 nothrottle
50 exec /sbin/hotplug-call firmware
51 next
52 }
This page took 0.040561 seconds and 5 git commands to generate.