homeserver-iac/roles/networking/connection/templates/rmconn.sh

9 lines
296 B
Bash
Raw Normal View History

#!/bin/sh
sleep 30
/usr/bin/nmcli connection down {{ net_interface }} > /dev/null 2>&1
/usr/bin/nmcli connection down "Wired connection 1" > /dev/null 2>&1
/usr/bin/nmcli connection down wired > /dev/null 2>&1
/usr/bin/nmcli connection up wired > /dev/null