hotplug-preinit: remove superfluous `and`
authorJohn Crispin <john@openwrt.org>
Fri, 26 Feb 2016 08:35:32 +0000 (08:35 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 26 Feb 2016 08:35:32 +0000 (08:35 +0000)
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 48795

package/system/procd/files/hotplug-preinit.json

index 614b1047115b261ec74466b2de5303b4750dcfb4..58afc6c696ff546f0f5da20fb9fc131f1afbd77c 100644 (file)
@@ -12,9 +12,7 @@
                ],
        }, ],
        [ "if",
-               [ "and",
-                       [ "eq", "SUBSYSTEM", "button" ],
-               ],
+               [ "eq", "SUBSYSTEM", "button" ],
                [ "exec", "/etc/rc.button/failsafe" ]
        ],
 ]