summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_uninstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/opengnsys_uninstall.sh')
-rwxr-xr-xinstaller/opengnsys_uninstall.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/installer/opengnsys_uninstall.sh b/installer/opengnsys_uninstall.sh
index 29879883..74b3c8f5 100755
--- a/installer/opengnsys_uninstall.sh
+++ b/installer/opengnsys_uninstall.sh
@@ -2,14 +2,16 @@
# Desinstalación de OpenGnSys.
-# Variables.
-OPENGNSYS="/opt/opengnsys" # Directorio de OpenGnSys
-OGIMG="images" # Directorio de imágenes del repositorio
+#### AVISO: Editar configuración de acceso.
MYSQLROOT="passwordroot" # Clave de root de MySQL
DATABASE="ogAdmBD" # Base de datos de administración
OLDDATABASE="ogBDAdmin" # Antigua base de datos
DBUSER="usuog" # Usuario de acceso a la base de datos
+# Variables.
+OPENGNSYS="/opt/opengnsys" # Directorio de OpenGnSys
+OGIMG="images" # Directorio de imágenes del repositorio
+
# Parar servicio.
echo "Uninstalling OpenGnSys services."
if [ -x /etc/init.d/opengnsys ]; then
@@ -47,5 +49,5 @@ rm -f /etc/init.d/opengnsys /etc/default/opengnsys
echo "Manual tasks:"
echo "- You may stop or uninstall manually all other services"
echo " (DHCP, PXE, TFTP, NFS, Apache, MySQL)."
-echo "- Delete repository directory \"$OGIMG\""
+echo "- Delete repository directory \"$OPENGNSYS/$OGIMG\""