aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-08-10 23:58:15 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-08-10 23:58:15 +0000
commitdd91e3763a0413beffa226f36b278ca61e0a95c2 (patch)
tree94c172c25733feec4434e6c52bdc816de304771d /package/network/services
parentd0bb5b2d0cb152ecdd58c547cf087552e69b2474 (diff)
downloadupstream-dd91e3763a0413beffa226f36b278ca61e0a95c2.tar.gz
upstream-dd91e3763a0413beffa226f36b278ca61e0a95c2.tar.bz2
upstream-dd91e3763a0413beffa226f36b278ca61e0a95c2.zip
buttons: make all button handler scripts return 0
this is required by the new button timeout feature Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46471 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46581 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/hostapd/files/wps-hotplug.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/wps-hotplug.sh b/package/network/services/hostapd/files/wps-hotplug.sh
index 5b3c753427..24af80e55b 100644
--- a/package/network/services/hostapd/files/wps-hotplug.sh
+++ b/package/network/services/hostapd/files/wps-hotplug.sh
@@ -7,3 +7,5 @@ if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
hostapd_cli -i "$socket" wps_pbc
done
fi
+
+return 0