mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update menu.sh
This commit is contained in:
parent
c48c8f0015
commit
46ddaccdbb
5
menu.sh
5
menu.sh
|
|
@ -758,8 +758,9 @@ done
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
######
|
######
|
||||||
|
variable22=$(grep "EMQ-VER:" /opt/emq-ver | tail -c 5)
|
||||||
cp /bin/menu /bin/MENU
|
sudo sed -i "s/R00ab/$variable22/g" /bin/menu
|
||||||
|
ln -s /bin/menu /bin/MENU
|
||||||
chmod +x /bin/menu*
|
chmod +x /bin/menu*
|
||||||
chmod +x /bin/MENU
|
chmod +x /bin/MENU
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue