1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-13 10:48:39 +03:00
openwrt-xburst/package/hotplug2/files/hotplug2.rules
nbd 370c954b81 replace the hotplug2 fork handling hack with a better solution implemented in upstream (thanks, iSteve)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 11:05:14 +00:00

27 lines
396 B
Plaintext

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