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 | a4f11ca22e6f69d2feab4f239eb84d35f7cbe555 (patch) | |
tree | 6816cc5e005ec5573100c83da92a5cd0783468a3 /package/wpa_supplicant/files/wpa_supplicant.sh | |
parent | 9161a7023556a0db76e3d56fde12bc8b3c30a3e1 (diff) | |
download | mtk-20170518-a4f11ca22e6f69d2feab4f239eb84d35f7cbe555.zip mtk-20170518-a4f11ca22e6f69d2feab4f239eb84d35f7cbe555.tar.gz mtk-20170518-a4f11ca22e6f69d2feab4f239eb84d35f7cbe555.tar.bz2 |
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
Diffstat (limited to 'package/wpa_supplicant/files/wpa_supplicant.sh')
-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 37ebef7..debdf81 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 } |