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