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

Fix omr-6in4 putting dirty data in log

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-06-18 19:57:53 +00:00
parent 650638da69
commit afacd976c8
2 changed files with 7 additions and 7 deletions

View file

@ -236,9 +236,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.26 >:' /etc/motd
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.27 >:' /etc/motd
else
echo '< OpenMPTCProuter VPS 0.26 >' >> /etc/motd
echo '< OpenMPTCProuter VPS 0.27 >' >> /etc/motd
fi
if [ "$update" = "0" ]; then