diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2011-12-05 01:47:28 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2011-12-05 01:47:28 -0500 |
commit | 66821a39a140a02bbe511550a91a475d18be8d28 (patch) | |
tree | ec447dd29b9d31de666cce789a7bef2f08b6b382 | |
parent | Initial commit. (diff) | |
download | wifi-monitoring-scripts-66821a39a140a02bbe511550a91a475d18be8d28.tar.xz wifi-monitoring-scripts-66821a39a140a02bbe511550a91a475d18be8d28.zip |
Actually stop wpa_supplicant properly.
-rwxr-xr-x | monitor.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |