Update update.sh

This commit is contained in:
Esteban Mackay Q 2022-12-06 19:27:04 -05:00 committed by GitHub
parent 66a460a87d
commit 9a1dfd6496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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
#