1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Force ip for omr6in4

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-07-03 08:10:51 +00:00
parent 5d3fe26a67
commit 50cb7c16d5
2 changed files with 17 additions and 14 deletions

View file

@ -238,9 +238,9 @@ fi
# Add OpenMPTCProuter VPS script version to /etc/motd
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.32 >:' /etc/motd
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.33 >:' /etc/motd
else
echo '< OpenMPTCProuter VPS 0.32 >' >> /etc/motd
echo '< OpenMPTCProuter VPS 0.33 >' >> /etc/motd
fi
if [ "$update" = "0" ]; then