From a4f11ca22e6f69d2feab4f239eb84d35f7cbe555 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 29 Oct 2008 17:26:49 +0000 Subject: use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death SVN-Revision: 13078 --- package/wpa_supplicant/files/wpa_supplicant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/wpa_supplicant') diff --git a/package/wpa_supplicant/files/wpa_supplicant.sh b/package/wpa_supplicant/files/wpa_supplicant.sh index 37ebef7a4b..debdf811a5 100644 --- a/package/wpa_supplicant/files/wpa_supplicant.sh +++ b/package/wpa_supplicant/files/wpa_supplicant.sh @@ -75,5 +75,5 @@ network={ $password } EOF - [ -z "$proto" ] || wpa_supplicant ${bridge:+ -b $bridge} -B -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf + [ -z "$proto" ] || wpa_supplicant ${bridge:+ -b $bridge} -B -P "/var/run/wifi-${ifname}.pid" -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf } -- cgit v1.2.3