This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set wpa_supplicant debug level to 1, disable timestamps, disable show_keys | |
[ "$UID" == 0 ] || { echo "Only root can run this"; exit 0;} | |
LOG="/var/log/wpa_supplicant.log" | |
echo "Stopping NetworkManager" | |
systemctl stop NetworkManager |