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:
parent
650638da69
commit
afacd976c8
2 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue