mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update update.sh
This commit is contained in:
parent
66a460a87d
commit
9a1dfd6496
|
|
@ -1,4 +1,3 @@
|
|||
variable22=$(grep "EMQ-VER:" /opt/emq-ver | tail -c 5)
|
||||
echo 123> /bin/menu-update
|
||||
sudo rm /bin/menu-update
|
||||
sudo cat > /bin/menu-update <<- "EOF"
|
||||
|
|
@ -148,9 +147,8 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/menu
|
|||
#sh -c "$(curl -fsSL https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/menu.sh)"
|
||||
#sudo sed -i "s/R00ab/$variable22/g" /bin/menu
|
||||
#####
|
||||
cp /bin/menu /bin/MENU
|
||||
|
||||
chmod +x /bin/menu*
|
||||
chmod +x /bin/MENU
|
||||
chmod +x /tmp/menu-update
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in New Issue