1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-19 02:53:12 +02:00
openwrt-xburst/package/hotplug2/files/hotplug2.rules
florian c573998811 Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound peripherals (#1677)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-15 08:20:31 +00:00

23 lines
358 B
Plaintext

DEVICENAME ~~ (tun|tap[0-9]) {
makedev /dev/net/%DEVICENAME% 0644
next
}
DEVICENAME ~~ (controlC[0-9]|pcmC0D0*) {
makedev /dev/snd/%DEVICENAME% 0644
next
}
DEVPATH is set {
makedev /dev/%DEVICENAME% 0644
}
FIRMWARE is set {
exec /sbin/hotplug-call firmware;
next
}
SUBSYSTEM ~~ (net|button) {
exec /sbin/hotplug-call %SUBSYSTEM%;
}