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