1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-19 05:47:10 +02:00
openwrt-xburst/package/hotplug2/files/hotplug2.rules

23 lines
358 B
Plaintext
Raw Normal View History

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%;
}