summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-01-17 19:01:53 -0500
committerAndrew Cady <d@cryptonomic.net>2021-01-18 15:56:30 -0500
commit8845a977db9d660515e1ca17ae2afadc0cb7b38d (patch)
tree6bee6c0a8120e850521ed2e74647066556059d52
parent558b59c44c743204bb6c4697ed51796b0cf793cc (diff)
nm-reup.sh
-rw-r--r--dot/local/bin/nm-reup10
1 files changed, 10 insertions, 0 deletions
diff --git a/dot/local/bin/nm-reup b/dot/local/bin/nm-reup
new file mode 100644
index 0000000..aa40a18
--- /dev/null
+++ b/dot/local/bin/nm-reup
@@ -0,0 +1,10 @@
1#!/bin/sh
2nmcli -t --fields=name con show --active |
3while read con
4do
5 (
6 set -x
7 nmcli con down "$con"
8 nmcli con up "$con"
9 )
10done