mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix permissions of various devices (fixes #2052)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -1,12 +1,34 @@
|
||||
|
||||
DEVICENAME ~~ (null|full|ptmx|tty|zero) {
|
||||
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*) {
|
||||
nothrottle
|
||||
makedev /dev/snd/%DEVICENAME% 0644
|
||||
next
|
||||
}
|
||||
|
||||
DEVPATH is set {
|
||||
nothrottle
|
||||
makedev /dev/%DEVICENAME% 0644
|
||||
}
|
||||
|
||||
|
||||
SUBSYSTEM ~~ button {
|
||||
exec kill -USR1 1 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user