diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-29 17:26:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-29 17:26:49 +0000 |
commit | 382a56d914fd45b0854cd2a770473c46810d0a85 (patch) | |
tree | 89c63dd19afe8179a1aba0e96724bf46b633795f /package/wpa_supplicant/files | |
parent | a3dae311fd51f6c35d5355d2fc6c31e6cdb138e0 (diff) | |
download | upstream-382a56d914fd45b0854cd2a770473c46810d0a85.tar.gz upstream-382a56d914fd45b0854cd2a770473c46810d0a85.tar.bz2 upstream-382a56d914fd45b0854cd2a770473c46810d0a85.zip |
use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13078 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wpa_supplicant/files')
-rw-r--r-- | package/wpa_supplicant/files/wpa_supplicant.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |