diff options
author | ramon <ramongomez@us.es> | 2017-06-22 12:04:35 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-06-22 12:04:35 +0000 |
commit | 57396c13d760a668978893a9a1e70e891d7021c1 (patch) | |
tree | cf648acbffcef4b1a2d550632f269eab26e727ab /installer/opengnsys_uninstall.sh | |
parent | 292fed9a112a90579988cbe01d03001bd5a89725 (diff) |
#795: Script de desinistalación avisa de que no elimina el directorio de configuración de PXE/TFTP.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5373 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/opengnsys_uninstall.sh')
-rwxr-xr-x | installer/opengnsys_uninstall.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/installer/opengnsys_uninstall.sh b/installer/opengnsys_uninstall.sh index 8c206db1..43e37129 100755 --- a/installer/opengnsys_uninstall.sh +++ b/installer/opengnsys_uninstall.sh @@ -34,6 +34,7 @@ OGIMG="images" # Directorio de imágenes del repositorio OPENGNSYS_CLIENT_USER="opengnsys" # Usuario Samba OPENGNSYS_OLDDATABASE="ogBDAdmin" # Antigua base de datos MYCNF=/tmp/.my.cnf.$$ # Fichero temporal con credenciales de acceso a la BD. +TFTPDIR=$(readlink $OPENGNSYS/tftpboot 2>/dev/null) # Directorio de PXE/TFTP # Sólo ejecutable por usuario root @@ -116,4 +117,5 @@ echo "Manual tasks:" echo "- You may stop or uninstall manually all other services" echo " (DHCP, PXE, TFTP, NFS/Samba, Apache, MySQL)." echo "- Delete repository directory \"$OPENGNSYS/$OGIMG\"" +[ -n "$TFTPDIR" ] && echo "- Delete PXE configuration directory \"$TFTPDIR\"" |