mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -q OpenMPTCProuter /etc/motd ; then
|
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd ; then
|
||||||
update=1
|
update=1
|
||||||
fi
|
fi
|
||||||
# Install mptcp kernel and shadowsocks
|
# Install mptcp kernel and shadowsocks
|
||||||
|
@ -211,7 +211,7 @@ fi
|
||||||
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
|
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
|
||||||
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.20 >:' /etc/motd
|
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.20 >:' /etc/motd
|
||||||
else
|
else
|
||||||
echo '< OpenMPCTProuter VPS 0.20 >' >> /etc/motd
|
echo '< OpenMPTCProuter VPS 0.20 >' >> /etc/motd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$update" -eq "0" ]; then
|
if [ "$update" -eq "0" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue