diff --git a/install/allmon3.sh b/install/allmon3.sh index 3b9a884..96fdac4 100644 --- a/install/allmon3.sh +++ b/install/allmon3.sh @@ -38,8 +38,12 @@ apt-get install -y -t bullseye-backports python3-websockets python3-aiohttp pyth fi #### Install Allmon3 -wget https://github.com/AllStarLink/Allmon3/releases/download/rel_t_1_0_2/allmon3_1.0.2-1_all.deb -dpkg -i allmon3_1.0.2-1_all.deb +wget https://github.com/AllStarLink/Allmon3/releases/download/t_rel_1_2_0/allmon3_1.2.0-1.bullseye_all.deb +dpkg -i allmon3_1.2.0-1.bullseye_all.deb +variable2=$(date +'%Y' | tail -c 5) +allmv=$(grep -oP '\K[^<]+' /usr/share/allmon3/index.html) +#echo $allmv +sed -i "s/AllStarLink
/AllStarLink
Dashboard AllMon3<\/a> Script project: Easy-ASL<\/a>
/g" /usr/share/allmon3/index.html else samllm3=0 fi diff --git a/install/dvswitch.sh b/install/dvswitch.sh index 97ed367..1c299ee 100644 --- a/install/dvswitch.sh +++ b/install/dvswitch.sh @@ -131,7 +131,7 @@ mv /var/www/html/* /var/www/dvs/ && sed -i "s/'UTC'/'Africa\/Lagos'/" /var/www/dvs/include/*.php sed -i "s/www\/html/www\/dvs/g" /var/www/dvs/include/* && #sed -i "s/usrp.duckdns.org\/user.csv/datafiles.ddns.net:8888\/user.csv/g" /var/www/dvs/include/* && -sed -i "s/Dashboard based on Pi-Star Dashboard, © Andy Taylor.*/Dashboard based on Pi-Star Dashboard, © Andy Taylor (MW0MWZ) and adapted to DVSwitch by SP2ONG
\"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/emq-TE1\/>Proyect: emq-TE1ws+<\/a><\/span><\/center>/" /var/www/dvs/index.php && +sed -i "s/Dashboard based on Pi-Star Dashboard, © Andy Taylor.*/Dashboard based on Pi-Star Dashboard, © Andy Taylor (MW0MWZ) and adapted to DVSwitch by SP2ONG
\"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/emq-TE1\/>Script project: emq-TE1ws+<\/a><\/span><\/center>/" /var/www/dvs/index.php && sed -i "s//" /var/www/dvs/index.php && cp /var/www/dvs/index.php /opt/index-dvs.txt sed -i "s/www\/html/www\/dvs/g" /usr/local/sbin/update-config.sh diff --git a/install/mmdvm.sh b/install/mmdvm.sh index b502b73..75cd2f9 100644 --- a/install/mmdvm.sh +++ b/install/mmdvm.sh @@ -546,7 +546,7 @@ sudo sed -i 's/etc\/MMDVM/opt\/MMDVMHost/' /opt/MMDVMHost-Websocketboard/logtail sudo sed -i 's/usr\/local\/bin/opt\/MMDVMHost/' /opt/MMDVMHost-Websocketboard/logtailer.ini sudo sed -i 's/Prefix=MMDVM/Prefix=MMDVMH/' /opt/MMDVMHost-Websocketboard/logtailer.ini variable2=$(date +'%Y' | tail -c 5) -sudo sed -i "s/switch theme.*/switch theme<\/a><\/span> <\/div>

Proyect: emq-TE1+<\/a><\/span>/g" /opt/MMDVMHost-Websocketboard/html/index.html +sudo sed -i "s/switch theme.*/switch theme<\/a><\/span> <\/div>

Script project: emq-TE1+<\/a><\/span>/g" /opt/MMDVMHost-Websocketboard/html/index.html # cd /opt/MMDVMHost-Websocketboard/html/ sudo sed -i 's/5678/5679/' /opt/MMDVMHost-Websocketboard/html/index.html diff --git a/install/p25.sh b/install/p25.sh index f08e305..b243df1 100644 --- a/install/p25.sh +++ b/install/p25.sh @@ -179,7 +179,7 @@ then sudo mkdir /var/www fi variable2=$(date +'%Y' | tail -c 5) -sudo sed -i -e "\$i\\

Proyect: emq-TE1+<\/a><\/span>" /opt/P25Reflector-Dashboard/index.php +sudo sed -i -e "\$i\\

Script project: emq-TE1+<\/a><\/span>" /opt/P25Reflector-Dashboard/index.php sudo mkdir /var/www/p25 sudo cp -R /opt/P25Reflector-Dashboard/* /var/www/p25/ rm /var/www/p25/setup.php diff --git a/install/update-dash-dvs.sh b/install/update-dash-dvs.sh index 9bc1727..87f3672 100644 --- a/install/update-dash-dvs.sh +++ b/install/update-dash-dvs.sh @@ -62,7 +62,7 @@ sudo unzip -o DVS-Dash.zip && sed -i "s/'UTC'/'Africa\/Lagos'/" /var/www/dvs/include/*.php sed -i "s/www\/html/www\/dvs/g" /var/www/dvs/include/* && #sed -i "s/usrp.duckdns.org\/user.csv/datafiles.ddns.net:8888\/user.csv/g" /var/www/dvs/include/* && -sed -i "s/Dashboard based on Pi-Star Dashboard, © Andy Taylor.*/Dashboard based on Pi-Star Dashboard, © Andy Taylor (MW0MWZ) and adapted to DVSwitch by SP2ONG
\"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/emq-TE1\/>Proyect: emq-TE1ws+<\/a><\/span><\/center>/" /var/www/dvs/index.php && +sed -i "s/Dashboard based on Pi-Star Dashboard, © Andy Taylor.*/Dashboard based on Pi-Star Dashboard, © Andy Taylor (MW0MWZ) and adapted to DVSwitch by SP2ONG
\"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/emq-TE1\/>Script project: emq-TE1ws+<\/a><\/span><\/center>/" /var/www/dvs/index.php && sed -i "s//" /var/www/dvs/index.php && cp /var/www/dvs/index.php /opt/index-dvs.txt bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-dvs)" diff --git a/install/xlxd.sh b/install/xlxd.sh index 9bc0c9e..116e2dc 100644 --- a/install/xlxd.sh +++ b/install/xlxd.sh @@ -175,7 +175,7 @@ cd /opt/xlxd/src/ echo "------------------------------------------------------------------------------" ####################### #dash1 -sudo sed -i "s/mailto:\"><\/a> <\/div>

\"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/easy-xlxd\/>Proyect: easy-xlxd<\/a>/" /opt/xlxd/dashboard/index.php +sudo sed -i "s/mailto:\"><\/a> <\/div>

\"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/easy-xlxd\/>Script project: easy-xlxd<\/a>/" /opt/xlxd/dashboard/index.php sed -i "s/600/300/g" /opt/xlxd/dashboard/pgs/config.inc.php sed -i "s/tmp/xlxd/g" /opt/xlxd/dashboard/pgs/config.inc.php sed -i "s/'ShowFullIP'/'ShowLast2ByteOfIP'/g" /opt/xlxd/dashboard/pgs/config.inc.php @@ -185,7 +185,7 @@ sed -i "s/National/XLX Module/g" /opt/xlxd/dashboard/pgs/config.inc.php sed -i "s/\/tmp\/callinghome.php/\/xlxd\/callinghome.php/g" /opt/xlxd/dashboard/pgs/config.inc.php sed -i "s/'Active'] = false/'Active'] = true/g" /opt/xlxd/dashboard/pgs/config.inc.php ##dash2 -sudo sed -i "s/mailto:\"><\/a> <\/div>

\"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/easy-xlxd\/>Proyect: easy-xlxd<\/a>/" /opt/xlxd/dashboard2/index.php +sudo sed -i "s/mailto:\"><\/a> <\/div>

\"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/easy-xlxd\/>Script project: easy-xlxd<\/a>/" /opt/xlxd/dashboard2/index.php sed -i "s/600/300/g" /opt/xlxd/dashboard2/pgs/config.inc.php sed -i "s/tmp/xlxd/g" /opt/xlxd/dashboard2/pgs/config.inc.php sed -i "s/'ShowFullIP'/'ShowLast2ByteOfIP'/g" /opt/xlxd/dashboard2/pgs/config.inc.php diff --git a/install/ysfreflector.sh b/install/ysfreflector.sh index a746a07..4a1c4e4 100644 --- a/install/ysfreflector.sh +++ b/install/ysfreflector.sh @@ -69,7 +69,7 @@ sudo chmod +x /opt/WSYSFDash/* sudo chown -R root /opt/WSYSFDash # variable2=$(date +'%Y' | tail -c 5) -sudo sed -i "s/switch theme.*/switch theme<\/a><\/span> <\/div>

Proyect: emq-TE1+<\/a><\/span>/g" /opt/WSYSFDash/html/index.html +sudo sed -i "s/switch theme.*/switch theme<\/a><\/span> <\/div>

Script project: emq-TE1+<\/a><\/span>/g" /opt/WSYSFDash/html/index.html sudo sed -i "s/connectedsincecol = 1;/connectedsincecol = 0;/g" /opt/WSYSFDash/html/js/config.js sudo sed -i "s/\/usr\/local\/bin\/YSFReflector/\/opt\/pYSFReflector3\/YSFReflector/g" /opt/WSYSFDash/logtailer.ini sudo sed -i "s/Filerotate=True/Filerotate=False/g" /opt/WSYSFDash/logtailer.ini