thanks @procrat
This commit is contained in:
parent
fd5aabf97f
commit
7e9b3cd2ca
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
# Reading our private mac
|
||||
here="$(dirname "$0")"
|
||||
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
|
||||
sudo ip link set "$link" down
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue