2
0
forked from Ivasoft/openwrt

procd: properly set /dev/snd permission and group

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2016-06-16 11:52:29 +02:00
parent e2d2b136b3
commit 163cc22643
2 changed files with 6 additions and 2 deletions

View File

@@ -31,6 +31,10 @@
[ "return" ],
],
],
[ "if",
[ "regex", "DEVNAME", "^snd" ],
[ "makedev", "/dev/%DEVNAME%", "0660", "audio" ],
],
[ "if",
[ "regex", "DEVNAME", "^ttyS" ],
[ "makedev", "/dev/%DEVNAME%", "0664" ],