hostapd/tests/hwsim/stop-wifi.sh
Jouni Malinen 731e60f5c5 tests: Add start/stop scripts and configuration files
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-03-02 11:39:54 +02:00

7 lines
147 B
Bash
Executable file

#!/bin/sh
sudo killall -q hostapd
sudo killall -q wpa_supplicant
if grep -q mac80211_hwsim /proc/modules ; then
sudo rmmod mac80211_hwsim
fi