procd: fix hotplug-preinit.json syntax
[openwrt/.git] / package / system / procd / files / hotplug-preinit.json
index 614b1047115b261ec74466b2de5303b4750dcfb4..658c685474fe0e31dd2667662d07ba037661c147 100644 (file)
@@ -8,13 +8,11 @@
                                        [ "load-firmware", "/lib/firmware" ],
                                        [ "return" ]
                                ]
-                       ],
-               ],
-       }, ],
+                       ]
+               ]
+       } ],
        [ "if",
-               [ "and",
-                       [ "eq", "SUBSYSTEM", "button" ],
-               ],
+               [ "eq", "SUBSYSTEM", "button" ],
                [ "exec", "/etc/rc.button/failsafe" ]
-       ],
+       ]
 ]