1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Reload network less often

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-06-18 20:19:42 +00:00
parent afacd976c8
commit 773938209f

View file

@ -61,7 +61,10 @@ $allip_mlvpn"
break
fi
done < <(printf '%s\n' "$allip")
[ -z "$iface" ] && systemctl -q restart systemd-networkd
[ -z "$iface" ] && {
systemctl -q restart systemd-networkd
sleep 10
}
fi
fi
sleep 5