1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 23:02:28 +02:00
openwrt-xburst/package/base-files/files/etc/hotplug2-common.rules
nbd 57a1576550 move input device nodes to /dev/input
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 15:06:15 +00:00

41 lines
597 B
Plaintext

DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) {
nothrottle
makedev /dev/%DEVICENAME% 0666
next
}
DEVICENAME ~~ (tun|tap[0-9]) {
nothrottle
makedev /dev/net/%DEVICENAME% 0644
next
}
DEVICENAME ~~ (ppp) {
nothrottle
makedev /dev/%DEVICENAME% 0600
next
}
DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
nothrottle
makedev /dev/snd/%DEVICENAME% 0644
next
}
DEVPATH is set, SUBSYSTEM ~~ (input) {
nothrottle
makedev /dev/input/%DEVICENAME% 0644
}
DEVPATH is set {
nothrottle
makedev /dev/%DEVICENAME% 0644
}
FIRMWARE is set {
nothrottle
exec /sbin/hotplug-call firmware;
next
}