mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-12 11:21:56 +00:00
fix
This commit is contained in:
parent
36a727d7d5
commit
e63a16eee4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue