summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_uninstall.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2010-11-15 18:48:15 +0000
committerramon <ramongomez@us.es>2010-11-15 18:48:15 +0000
commit4a3cd1fc90eac990d8b151ab0452bf22fd2bc123 (patch)
tree0cc8fa58d189bfffb880c02b4a344b2853f6b60f /installer/opengnsys_uninstall.sh
parentbf41d13ab83f6556a950c348473352a3bd3eab9e (diff)
Incluir avisos de modificación de configuración por defecto en instalador y desinstalador.
Corregir erratas. Close #253. git-svn-id: https://opengnsys.es/svn/trunk@1346 a21b9725-9963-47de-94b9-378ad31fedc9
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\""