cdotfis-mac/dotfiles/.local/bin/netRestart

9 lines
118 B
Bash
Executable File

#!/bin/sh
sleep 3
nmcli device down enp3s0
#nmcli networking off
sleep 2
nmcli device up enp3s0
#nmcli networking on