Update menu-dvs

This commit is contained in:
Esteban Mackay Q 2023-10-05 00:37:20 -05:00
parent 867b5a80d2
commit 73cef9e97a
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ if [ -f "/opt/wdp3" ]
then then
echo "found file" echo "found file"
else else
cat > /opt/wdp3 <<- "EOFX" sudo cat > /opt/wdp3 <<- "EOFX"
########################################## ##########################################
# Select number port, DVSwitch Dashboard # # Select number port, DVSwitch Dashboard #
########################################## ##########################################
@ -12,7 +12,7 @@ Web-Dashboar-Port: 80
EOFX EOFX
fi fi
cat > /bin/menu-dvs <<- "EOF" sudo cat > /bin/menu-dvs <<- "EOF3"
#!/bin/bash #!/bin/bash
while : ; do while : ; do
choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu DVSwitch" --menu "Nota : Debe encender Dvswitch antes de editar para utilizar." 20 60 11 \ choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu DVSwitch" --menu "Nota : Debe encender Dvswitch antes de editar para utilizar." 20 60 11 \
@ -161,11 +161,11 @@ break
esac esac
done done
exit 0 exit 0
EOF EOF3
# #
if [ -f "/usr/local/dvs/dvsmu" ] if [ -f "/usr/local/dvs/dvsmu" ]
then then
cat > /bin/menu-dvs <<- "EOFR" sudo cat > /bin/menu-dvs <<- "EOFR"
#!/bin/bash #!/bin/bash
while : ; do while : ; do
choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu DVSwitch" --menu "Nota : Debe encender Dvswitch antes de editar para utilizar." 20 60 11 \ choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu DVSwitch" --menu "Nota : Debe encender Dvswitch antes de editar para utilizar." 20 60 11 \