projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: properly set /dev/snd permission and group
[openwrt/openwrt.git]
/
package
/
system
/
procd
/
files
/
hotplug.json
diff --git
a/package/system/procd/files/hotplug.json
b/package/system/procd/files/hotplug.json
index a1c9dc97fc0546384b524963b4f21ee80aa55d99..de8ba105c539e992c92664e421f07f3978659ff5 100644
(file)
--- a/
package/system/procd/files/hotplug.json
+++ b/
package/system/procd/files/hotplug.json
@@
-31,6
+31,10
@@
[ "return" ],
],
],
+ [ "if",
+ [ "regex", "DEVNAME", "^snd" ],
+ [ "makedev", "/dev/%DEVNAME%", "0660", "audio" ],
+ ],
[ "if",
[ "regex", "DEVNAME", "^ttyS" ],
[ "makedev", "/dev/%DEVNAME%", "0664" ],