First line of script should be #!/bin/sh
Signed-off-by: Jiri Hubacek <jiri.huba...@gmail.com> --- diff --git a/target/linux/atheros/base-files/etc/hotplug.d/button/00-button b/target/linux/atheros/base-files/etc/hotplug.d/button/00-button index 63cc217..bec42c3 100644 --- a/target/linux/atheros/base-files/etc/hotplug.d/button/00-button +++ b/target/linux/atheros/base-files/etc/hotplug.d/button/00-button @@ -1,3 +1,4 @@ +#!/bin/sh . /lib/functions.sh do_button () { local button _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel