From: John Crispin Date: Wed, 29 Jun 2016 13:44:30 +0000 (+0200) Subject: procd: change /dev/{gpio,hvc*} perms to 0600 X-Git-Tag: v19.07.0-rc1~9815 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9597675d8e0eb7f0d3cd738b8dade1ce45adda0d;p=openwrt%2Fstaging%2Fhauke.git procd: change /dev/{gpio,hvc*} perms to 0600 Signed-off-by: John Crispin --- 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" ],