From 9597675d8e0eb7f0d3cd738b8dade1ce45adda0d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 29 Jun 2016 15:44:30 +0200 Subject: [PATCH] procd: change /dev/{gpio,hvc*} perms to 0600 Signed-off-by: John Crispin --- package/system/procd/files/hotplug.json | 9 ++------- 1 file 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" ], -- 2.30.2