use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringin...
[openwrt.git] / package / wpa_supplicant / files / wpa_supplicant.sh
index 37ebef7..debdf81 100644 (file)
@@ -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
 }
This page took 0.023612 seconds and 4 git commands to generate.