Re: [OpenWrt-Devel] [PATCH] [atheros] base-files: First line for button script file

2014-05-20 Thread Felix Fietkau
On 2014-05-19 00:36, Jiri Hubacek wrote: > First line of script should be #!/bin/sh > > Signed-off-by: Jiri Hubacek The patch is badly damaged (whitespace and line wrapping). Also, why is the #!/bin/sh be necessary at all? This script is not executed directly, it is sourced from /sbin/hotplug-cal

[OpenWrt-Devel] [PATCH] [atheros] base-files: First line for button script file

2014-05-18 Thread Jiri Hubacek
First line of script should be #!/bin/sh Signed-off-by: Jiri Hubacek --- 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/b