This commit is contained in:
Esteban Mackay Q 2023-09-10 15:00:38 -05:00
parent 260d4f8a99
commit 9a5ebf4436
6 changed files with 42 additions and 28 deletions

View File

@ -101,19 +101,7 @@ esac
EOF
###
if [ -f "/opt/wdp3" ]
then
echo "found file"
else
cat > /opt/wdp3 <<- "EOFX"
##########################################
# Select number port, DVSwitch Dashboard #
##########################################
Web-Dashboar-Port: 80
EOFX
fi
cd /tmp/
wget https://gitlab.com/hp3icc/DVSwitch-Mobile-TG-List/-/raw/main/lang.sh
sudo chmod +x lang.sh

View File

@ -65,19 +65,6 @@ EOF
#########################################################################################################################
# YSF-Reflector-Dashboard
#########################################################################################################################
if [ -f "/opt/wdp4" ]
then
echo "found file"
else
cat > /opt/wdp4 <<- "EOFX"
##############################################
# Select number port, YSFReflector Dashboard #
##############################################
Web-Dashboar-Port: 80
EOFX
fi
cd /opt/
git clone --recurse-submodules -j8 https://github.com/dg9vh/WSYSFDash
cd /opt/WSYSFDash/

View File

@ -1,4 +1,17 @@
#!/bin/bash
if [ -f "/opt/wdp3" ]
then
echo "found file"
else
cat > /opt/wdp3 <<- "EOFX"
##########################################
# Select number port, DVSwitch Dashboard #
##########################################
Web-Dashboar-Port: 80
EOFX
fi
cat > /bin/menu-dvs <<- "EOF"
#!/bin/bash
while : ; do

View File

@ -4,9 +4,9 @@ then
echo "found file"
else
cat > /opt/wdp2 <<- "EOFX"
#################################
# Select number port, Direwolf #
#################################
##########################################
# Select number port, Direwolf Dashboard #
##########################################
Web-Dashboar-Port: 80

View File

@ -1,4 +1,17 @@
#!/bin/bash
if [ -f "/opt/wdp" ]
then
echo "found file"
else
cat > /opt/wdp <<- "EOFX"
#########################################
# Select number port, FreeDMR Dashboard #
#########################################
Web-Dashboar-Port: 80
EOFX
fi
sudo cat > /bin/menu-fdmr <<- "EOF"
#!/bin/bash
if [[ $EUID -ne 0 ]]; then

View File

@ -1,4 +1,17 @@
#!/bin/bash
if [ -f "/opt/wdp4" ]
then
echo "found file"
else
cat > /opt/wdp4 <<- "EOFX"
##############################################
# Select number port, YSFReflector Dashboard #
##############################################
Web-Dashboar-Port: 80
EOFX
fi
sudo cat > /bin/menu-ysf <<- "EOF"
#!/bin/bash
while : ; do