1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 11:21:56 +00:00
This commit is contained in:
Ycarus (Yannick Chabanois) 2018-06-05 15:23:19 +00:00
parent 36a727d7d5
commit e63a16eee4

View file

@ -15,7 +15,7 @@ if [ $DEBIAN_VERSION -ne 9 ]; then
exit 1
fi
if grep -q OpenMPTCProuter /etc/motd ; then
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd ; then
update=1
fi
# Install mptcp kernel and shadowsocks
@ -211,7 +211,7 @@ fi
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.20 >:' /etc/motd
else
echo '< OpenMPCTProuter VPS 0.20 >' >> /etc/motd
echo '< OpenMPTCProuter VPS 0.20 >' >> /etc/motd
fi
if [ "$update" -eq "0" ]; then