stop-wifi.sh 147 B

1234567
  1. #!/bin/sh
  2. sudo killall -q hostapd
  3. sudo killall -q wpa_supplicant
  4. if grep -q mac80211_hwsim /proc/modules ; then
  5. sudo rmmod mac80211_hwsim
  6. fi