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
This commit is contained in:
Felix Fietkau
2008-10-29 17:26:49 +00:00
parent 9161a70235
commit a4f11ca22e
4 changed files with 7 additions and 9 deletions

View File

@@ -96,6 +96,6 @@ wpa=$wpa
wpa_pairwise=$crypto
$hostapd_cfg
EOF
hostapd -B /var/run/hostapd-$ifname.conf
hostapd -P /var/run/wifi-$ifname.conf -B /var/run/hostapd-$ifname.conf
}