2013-03-02 10:39:54 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
sudo killall -q hostapd
|
|
|
|
sudo killall -q wpa_supplicant
|
2013-03-09 16:39:11 +01:00
|
|
|
sudo killall -q wlantest
|
2013-04-26 11:36:56 +02:00
|
|
|
sudo killall -q tcpdump
|
2013-03-09 16:39:11 +01:00
|
|
|
if grep -q hwsim0 /proc/net/dev; then
|
|
|
|
sudo ifconfig hwsim0 down
|
|
|
|
fi
|
2013-03-02 10:39:54 +01:00
|
|
|
if grep -q mac80211_hwsim /proc/modules ; then
|
|
|
|
sudo rmmod mac80211_hwsim
|
|
|
|
fi
|