mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-12 11:21:56 +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)"
|
||||
exit 1
|
||||
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
|
||||
update="1"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue