Added current scripts
This commit is contained in:
16
reload-ethernet.sh
Executable file
16
reload-ethernet.sh
Executable file
@ -0,0 +1,16 @@
|
||||
echo "Shutting Down Ethernet Connection..."
|
||||
nmcli c d "Wired connection 1"
|
||||
sleep 2
|
||||
|
||||
echo "Shutting Down Ethernet Device..."
|
||||
nmcli d d "enp0s31f6"
|
||||
sleep 2
|
||||
|
||||
echo "Starting Up Ethernet Device..."
|
||||
nmcli d u "enp0s31f6"
|
||||
sleep 2
|
||||
|
||||
echo "Starting up Ethernet Connection..."
|
||||
nmcli c u "Wired connection 1"
|
||||
|
||||
echo Done.
|
Reference in New Issue
Block a user