wifi-reload: Bugfix for system T.
This commit is contained in:
parent
31aeea724e
commit
57ef5dd8fe
|
@ -52,10 +52,10 @@ B<bash>(1)
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
sudo killall wpa_supplicant
|
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
|
sleep 1
|
||||||
sudo killall -9 wpa_supplicant
|
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]+')
|
PID=$(sudo NetworkManager 2>&1 | grep -Eo '[0-9]+')
|
||||||
sudo kill $PID || sudo killall NetworkManager
|
sudo kill $PID || sudo killall NetworkManager
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Reference in a new issue