procd: change /dev/{gpio,hvc*} perms to 0600
authorJohn Crispin <john@phrozen.org>
Wed, 29 Jun 2016 13:44:30 +0000 (15:44 +0200)
committerJohn 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

index 5f768f4..85fbb14 100644 (file)
@@ -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" ],