procd: switch buttons to the new "button" hotplug handler
[openwrt.git] / package / system / procd / files / hotplug.json
index d574019..27b4836 100644 (file)
@@ -66,7 +66,7 @@
                        [ "has", "BUTTON" ],
                        [ "eq", "SUBSYSTEM", "button" ],
                ],
-               [ "exec", "/etc/rc.button/%BUTTON%" ]
+               [ "button", "/etc/rc.button/%BUTTON%" ]
        ],
        [ "if",
                [ "eq", "SUBSYSTEM",