summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2011-12-05 01:47:28 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2011-12-05 01:47:28 -0500
commit66821a39a140a02bbe511550a91a475d18be8d28 (patch)
treeec447dd29b9d31de666cce789a7bef2f08b6b382
parentInitial commit. (diff)
downloadwifi-monitoring-scripts-66821a39a140a02bbe511550a91a475d18be8d28.tar.xz
wifi-monitoring-scripts-66821a39a140a02bbe511550a91a475d18be8d28.zip
Actually stop wpa_supplicant properly.
-rwxr-xr-xmonitor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.sh b/monitor.sh
index c239351..5fb8493 100755
--- a/monitor.sh
+++ b/monitor.sh
@@ -3,7 +3,7 @@ if [[ $UID != 0 ]]; then
exit -1
fi
systemctl stop dhcpcd.service
-systemctl stop wpa_supplicant.service
+systemctl stop wpa_supplicant@wlan0.service
if [ $# -eq 1 ]; then
ifconfig wlan0 down
iwconfig wlan0 mode managed