|
|
|
|
@ -4,6 +4,7 @@ then
|
|
|
|
|
echo "found file"
|
|
|
|
|
else
|
|
|
|
|
cat > /opt/wdp <<- "EOFX"
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#########################################
|
|
|
|
|
# Select number port, FreeDMR Dashboard #
|
|
|
|
|
#########################################
|
|
|
|
|
@ -16,6 +17,7 @@ then
|
|
|
|
|
echo "found file"
|
|
|
|
|
else
|
|
|
|
|
sudo cat > /opt/extra-1.sh <<- "EOF"
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
######################################################################
|
|
|
|
|
# Coloque en este archivo, cualquier instruccion shell adicional que #
|
|
|
|
|
# quierre se realice al finalizar la actualizacion. #
|
|
|
|
|
@ -30,6 +32,7 @@ then
|
|
|
|
|
echo "found file"
|
|
|
|
|
else
|
|
|
|
|
sudo cat > /opt/extra-2.sh <<- "EOF"
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
######################################################################
|
|
|
|
|
# Coloque en este archivo, cualquier instruccion shell adicional que #
|
|
|
|
|
# quierre se realice al finalizar la actualizacion. #
|
|
|
|
|
@ -44,6 +47,7 @@ then
|
|
|
|
|
echo "found file"
|
|
|
|
|
else
|
|
|
|
|
sudo cat > /opt/extra-3.sh <<- "EOF"
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
######################################################################
|
|
|
|
|
# Coloque en este archivo, cualquier instruccion shell adicional que #
|
|
|
|
|
# quierre se realice al finalizar la actualizacion. #
|
|
|
|
|
|