From e63a16eee4c512b01c2af764e34b0f8c02214039 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 5 Jun 2018 15:23:19 +0000 Subject: [PATCH] fix --- debian9-x86_64.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index 9da945e..fd0b48f 100644 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -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