Update emq-TE1x.sh

This commit is contained in:
Esteban Mackay Q 2022-11-09 22:40:56 -05:00 committed by GitHub
parent f2c66f975e
commit 3d0aea24b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -79,7 +79,7 @@ sudo apt-get install rrdtool -y
##################
sudo cat > /opt/emq-ver <<- "EOF"
EMQ-VER: 20.8
EMQ-VER: 20.8x
EOF
#########
sh -c "$(curl -fsSL https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/menu.sh)"
@ -246,6 +246,10 @@ cd /opt/
git clone --recurse-submodules -j8 https://github.com/dg9vh/MMDVMHost-Websocketboard
sudo chown -R mmdvm:mmdvm /opt/MMDVMHost-Websocketboard
#
sudo sed '264 a <!--' -i /opt/MMDVMHost-Websocketboard/html/index.html
sudo sed '266 a -->' -i /opt/MMDVMHost-Websocketboard/html/index.html
sudo sed -i "s/`Custom-Headline-Text`/Websocket-Based/g" /opt/MMDVMHost-Websocketboard/html/js/config.js
sudo sed -i "s/about = 1/about = 0/g" /opt/MMDVMHost-Websocketboard/html/js/config.js
sudo sed -i "s/currtx = 1/currtx = 0/g" /opt/MMDVMHost-Websocketboard/html/js/config.js
sudo sed -i "s/qso = 1/qso = 0/g" /opt/MMDVMHost-Websocketboard/html/js/config.js