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 5f768f4eeb9a0a7f62773442b9c4da28761ce27f..85fbb144cc3342c98485320e57572adbb893337f 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" ],