Add netRestart

This commit is contained in:
Santiago Lo Coco 2022-02-14 22:52:50 -03:00
parent a679d51735
commit 373e117b26
1 changed files with 8 additions and 0 deletions

8
dotfiles/.local/bin/netRestart Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
sleep 3
nmcli device down enp3s0
#nmcli networking off
sleep 2
nmcli device up enp3s0
#nmcli networking on