openwrtv3/package/hotplug2/files/hotplug2.rules
John Crispin 2fe37ccdf6 added usb-storage hotpluging
SVN-Revision: 7684
2007-06-20 22:05:15 +00:00

22 lines
362 B
Text

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|usb) {
exec /sbin/hotplug-call %SUBSYSTEM%;
}