openwrtv4/package/base-files/files/etc/hotplug2-common.rules
Felix Fietkau 11cf9ea728 move input device nodes to /dev/input
SVN-Revision: 14809
2009-03-09 15:06:15 +00:00

40 lines
597 B
Text

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
}