projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cef6d
)
procd: change /dev/{gpio,hvc*} perms to 0600
author
John Crispin
<john@phrozen.org>
Wed, 29 Jun 2016 13:44:30 +0000
(15:44 +0200)
committer
John Crispin
<john@phrozen.org>
Thu, 30 Jun 2016 20:48:39 +0000
(22:48 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
package/system/procd/files/hotplug.json
patch
|
blob
|
history
diff --git
a/package/system/procd/files/hotplug.json
b/package/system/procd/files/hotplug.json
index 5f768f4eeb9a0a7f62773442b9c4da28761ce27f..85fbb144cc3342c98485320e57572adbb893337f 100644
(file)
--- a/
package/system/procd/files/hotplug.json
+++ b/
package/system/procd/files/hotplug.json
@@
-8,13
+8,8
@@
],
[
[ "if",
- [ "or",
- [ "eq", "DEVNAME",
- [ "null", "full", "ptmx", "zero", "tty", "net", "random", "urandom" ],
- ],
- [ "regex", "DEVNAME",
- [ "^gpio", "^hvc" ],
- ],
+ [ "eq", "DEVNAME",
+ [ "null", "full", "ptmx", "zero", "tty", "net", "random", "urandom" ],
],
[
[ "makedev", "/dev/%DEVNAME%", "0666" ],