projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
procd: adjust /dev entries to desktop distro defaults
[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 de8ba105c539e992c92664e421f07f3978659ff5..5f768f4eeb9a0a7f62773442b9c4da28761ce27f 100644
(file)
--- a/
package/system/procd/files/hotplug.json
+++ b/
package/system/procd/files/hotplug.json
@@
-10,7
+10,7
@@
[ "if",
[ "or",
[ "eq", "DEVNAME",
[ "if",
[ "or",
[ "eq", "DEVNAME",
- [ "null", "full", "ptmx", "zero", "tty" ],
+ [ "null", "full", "ptmx", "zero", "tty"
, "net", "random", "urandom"
],
],
[ "regex", "DEVNAME",
[ "^gpio", "^hvc" ],
],
[ "regex", "DEVNAME",
[ "^gpio", "^hvc" ],
@@
-22,26
+22,16
@@
]
],
[ "if",
]
],
[ "if",
- [ "or",
- [ "eq", "DEVNAME", "mapper/control" ],
- [ "regex", "DEVPATH", "^ppp" ],
- ],
- [
- [ "makedev", "/dev/%DEVNAME%", "0600" ],
- [ "return" ],
- ],
+ [ "eq", "DEVNAME", "kmsg" ],
+ [ "makedev", "/dev/%DEVNAME%", "0644" ],
],
[ "if",
[ "regex", "DEVNAME", "^snd" ],
[ "makedev", "/dev/%DEVNAME%", "0660", "audio" ],
],
],
[ "if",
[ "regex", "DEVNAME", "^snd" ],
[ "makedev", "/dev/%DEVNAME%", "0660", "audio" ],
],
- [ "if",
- [ "regex", "DEVNAME", "^ttyS" ],
- [ "makedev", "/dev/%DEVNAME%", "0664" ],
- ],
[ "if",
[ "has", "DEVNAME" ],
[ "if",
[ "has", "DEVNAME" ],
- [ "makedev", "/dev/%DEVNAME%", "06
44
" ],
+ [ "makedev", "/dev/%DEVNAME%", "06
00
" ],
],
],
],
],
],
],