From 373e117b26a84c943ccdb5949335358904574187 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 14 Feb 2022 22:52:50 -0300 Subject: [PATCH] Add netRestart --- dotfiles/.local/bin/netRestart | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 dotfiles/.local/bin/netRestart diff --git a/dotfiles/.local/bin/netRestart b/dotfiles/.local/bin/netRestart new file mode 100755 index 0000000..551164d --- /dev/null +++ b/dotfiles/.local/bin/netRestart @@ -0,0 +1,8 @@ +#!/bin/sh + +sleep 3 +nmcli device down enp3s0 +#nmcli networking off +sleep 2 +nmcli device up enp3s0 +#nmcli networking on