summaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-29 17:26:49 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-29 17:26:49 +0000
commit9909f72e6f90fa74dc30185e2e0e492a02f42302 (patch)
tree89c63dd19afe8179a1aba0e96724bf46b633795f /package/hostapd
parentdc7f25c42c6aaf6fbd29f7b2971244d3ed4baa26 (diff)
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/hostapd')
-rw-r--r--package/hostapd/files/hostapd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index 1159c3b15..707fd8c4b 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -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
}