if I'm connecting wired, turn off wireless
This commit is contained in:
parent
5c4318a022
commit
fa68a57a32
@ -9,3 +9,7 @@ link="$(basename /sys/class/net/enp*)"
|
||||
sudo ip link set "$link" down
|
||||
sudo ip link set "$link" address "$mac"
|
||||
sudo ip link set "$link" up
|
||||
|
||||
# No more wireless
|
||||
sudo sv stop wpa_supplicant
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user