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