thanks @procrat
This commit is contained in:
parent
fd5aabf97f
commit
7e9b3cd2ca
@ -3,7 +3,7 @@
|
|||||||
# Reading our private mac
|
# Reading our private mac
|
||||||
here="$(dirname "$0")"
|
here="$(dirname "$0")"
|
||||||
mac="$(cat "$here/macaddress")"
|
mac="$(cat "$here/macaddress")"
|
||||||
link="$(ip link | grep enp | tr -d ' ' | cut -d: -f2)"
|
link="$(basename /sys/class/net/enp*)"
|
||||||
|
|
||||||
# Setting the MAC address for our wired
|
# Setting the MAC address for our wired
|
||||||
sudo ip link set "$link" down
|
sudo ip link set "$link" down
|
||||||
|
Loading…
Reference in New Issue
Block a user