[package] base-files:
[openwrt.git] / package / base-files / files / etc / hotplug2-common.rules
1
2 # uncomment me to log hotplug events
3 # DEVPATH is set {
4 # nothrottle
5 # exec logger -s -t hotplug -p daemon.info "name=%DEVICENAME%, path=%DEVPATH%"
6 # }
7
8 DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) {
9 nothrottle
10 makedev /dev/%DEVICENAME% 0666
11 next
12 }
13
14 DEVICENAME ~~ (tun|tap[0-9]) {
15 nothrottle
16 makedev /dev/net/%DEVICENAME% 0644
17 next
18 }
19
20 DEVICENAME ~~ (ppp) {
21 nothrottle
22 makedev /dev/%DEVICENAME% 0600
23 next
24 }
25
26 DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
27 nothrottle
28 makedev /dev/snd/%DEVICENAME% 0644
29 next
30 }
31
32 DEVICENAME ~~ (lp[0-9]) {
33 nothrottle
34 makedev /dev/%DEVICENAME% 0644
35 next
36 }
37
38 DEVPATH is set, SUBSYSTEM ~~ (input) {
39 nothrottle
40 makedev /dev/input/%DEVICENAME% 0644
41 }
42
43 DEVICENAME == device-mapper {
44 nothrottle
45 makedev /dev/mapper/control 0600
46 }
47
48
49 DEVPATH is set {
50 nothrottle
51 makedev /dev/%DEVICENAME% 0644
52 }
53
54 FIRMWARE is set, ACTION == add {
55 nothrottle
56 load-firmware /lib/firmware
57 next
58 }
This page took 0.057368 seconds and 5 git commands to generate.