ansible/files/scripts/restart-broken-ipv6
2017-12-26 22:23:37 +00:00

7 lines
111 B
Bash
Executable file

#!/bin/bash
ping6 -q -c 1 -w 2 2600:: >& /dev/null
if [ $? -ne 0 ];
then
nmcli c up eth0 >& /dev/null
fi