aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-29 15:44:30 +0200
committerJohn Crispin <john@phrozen.org>2016-06-30 22:48:39 +0200
commit9597675d8e0eb7f0d3cd738b8dade1ce45adda0d (patch)
treea8a0b15f34da534827df6f6d9ec10e6f5e8a2297 /package/system/procd
parentc6cef6dde743c9d1b52426f4aa2e7068fde43e7e (diff)
downloadupstream-9597675d8e0eb7f0d3cd738b8dade1ce45adda0d.tar.gz
upstream-9597675d8e0eb7f0d3cd738b8dade1ce45adda0d.tar.bz2
upstream-9597675d8e0eb7f0d3cd738b8dade1ce45adda0d.zip
procd: change /dev/{gpio,hvc*} perms to 0600
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/system/procd')
-rw-r--r--package/system/procd/files/hotplug.json9
1 files changed, 2 insertions, 7 deletions
diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json
index 5f768f4eeb..85fbb144cc 100644
--- 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" ],