From a26242cb6390ec0b5b4b69a9d35ecc2023f68bb5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 2 Dec 2013 13:08:14 +0000 Subject: [PATCH] hostapd: change the wildcard for the hostapd control socket directory prepare for using /var/run/hostapd instead of /var/run/hostapd-phy* Signed-off-by: Felix Fietkau SVN-Revision: 38986 --- package/network/services/hostapd/files/wps-hotplug.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/wps-hotplug.sh b/package/network/services/hostapd/files/wps-hotplug.sh index ffd3cf929b..058264a8db 100644 --- a/package/network/services/hostapd/files/wps-hotplug.sh +++ b/package/network/services/hostapd/files/wps-hotplug.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then - for dir in /var/run/hostapd-*; do + for dir in /var/run/hostapd*; do [ -d "$dir" ] || continue hostapd_cli -p "$dir" wps_pbc done -- 2.30.2