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

Change some default MPTCP parameters, reload network if VPN seems to be down

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-06-18 17:27:41 +00:00
parent 49481ceaa9
commit 650638da69
3 changed files with 12 additions and 6 deletions

View file

@ -106,7 +106,7 @@ fi
if [ "$MLVPN" = "yes" ]; then
cd /tmp
wget -O /tmp/debian9-x86_64-mlvpn.sh http://www.openmptcprouter.com/server/debian-x86_64-mlvpn.sh
wget -O /tmp/debian9-x86_64-mlvpn.sh http://www.openmptcprouter.com/server/debian9-x86_64-mlvpn.sh
sh debian9-x86_64-mlvpn.sh
fi
@ -236,9 +236,9 @@ fi
# Add OpenMPTCProuter VPS script version to /etc/motd
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.25 >:' /etc/motd
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.26 >:' /etc/motd
else
echo '< OpenMPTCProuter VPS 0.25 >' >> /etc/motd
echo '< OpenMPTCProuter VPS 0.26 >' >> /etc/motd
fi
if [ "$update" = "0" ]; then