wifi-reload: Bugfix for system T.

This commit is contained in:
Ole Tange 2017-07-17 00:17:00 +02:00
parent 31aeea724e
commit 57ef5dd8fe

View file

@ -52,10 +52,10 @@ B<bash>(1)
=cut
sudo killall wpa_supplicant
sudo parallel -j1 modprobe -r ::: iwldvm ath9k ath9k_common mac80211 ath9k_hw ath cfg80211 ath3k
sudo parallel -j1 modprobe -r ::: iwl3945 iwldvm ath9k ath9k_common mac80211 ath9k_hw ath cfg80211 ath3k
sleep 1
sudo killall -9 wpa_supplicant
parallel -j1 sudo modprobe ::: ath9k ath9k_common mac80211 ath9k_hw ath cfg80211 ath3k iwldvm
parallel -j1 sudo modprobe ::: ath9k ath9k_common mac80211 ath9k_hw ath cfg80211 ath3k iwldvm iwl3945
PID=$(sudo NetworkManager 2>&1 | grep -Eo '[0-9]+')
sudo kill $PID || sudo killall NetworkManager
sleep 1