summaryrefslogtreecommitdiff
path: root/dot/local/bin/nm-reup
blob: aa40a1865871bd0865e8302eb49210db73e0b3d6 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
nmcli -t --fields=name con show --active |
while read con
do
  (
    set -x
    nmcli con down "$con"
    nmcli con up "$con"
  )
done