mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Fix for old string
This commit is contained in:
parent
5327e94007
commit
ef77d27737
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ if [ $DEBIAN_VERSION -ne 9 ]; then
|
||||||
echo "This script only work with Debian Stretch (9.x)"
|
echo "This script only work with Debian Stretch (9.x)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
# Fix old string...
|
||||||
|
if grep --quiet 'OpenMPCTProuter VPS' /etc/motd ; then
|
||||||
|
sed -i 's/OpenMPCTProuter/OpenMPTCProuter/g' /etc/motd
|
||||||
|
fi
|
||||||
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd ; then
|
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd ; then
|
||||||
update="1"
|
update="1"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue