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:
parent
afacd976c8
commit
773938209f
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue