summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_uninstall.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-03-02 17:39:59 +0000
committerramon <ramongomez@us.es>2011-03-02 17:39:59 +0000
commit2338c95f5ab7569bbce01178ea1426555271e5a4 (patch)
treed1744759c0d0c578191210f08cab9e71c095b0e9 /installer/opengnsys_uninstall.sh
parent803bc36238663cda57898d83bc90b7a3d232b60f (diff)
Rama version1.0:
* Redistribución de directorios para el cliente. * Modificación del instalador para adaptarse a la nueva estructura de directorios. * Desinstalador quita los recursos de OpenGnSys en Samba. * Documentación actualizada para la nueva versión. git-svn-id: https://opengnsys.es/svn/branches/version1.0@1526 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/opengnsys_uninstall.sh')
-rwxr-xr-xinstaller/opengnsys_uninstall.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/installer/opengnsys_uninstall.sh b/installer/opengnsys_uninstall.sh
index 74b3c8f5..d9d2d98d 100755
--- a/installer/opengnsys_uninstall.sh
+++ b/installer/opengnsys_uninstall.sh
@@ -45,9 +45,12 @@ for dir in $OPENGNSYS/*; do
fi
done
rm -f /etc/init.d/opengnsys /etc/default/opengnsys
+# Comentar recursos de OpenGnSys en Samba.
+perl -pi -e "s/^ *include \= \/etc\/samba\/smb-og.conf/\; include \= \/etc\/samba\/smb-og.conf/" /etc/samba/smb.conf
+/etc/init.d/smbd restart
# Tareas manuales a realizar después de desinstalar.
echo "Manual tasks:"
echo "- You may stop or uninstall manually all other services"
-echo " (DHCP, PXE, TFTP, NFS, Apache, MySQL)."
+echo " (DHCP, PXE, TFTP, NFS/Samba, Apache, MySQL)."
echo "- Delete repository directory \"$OPENGNSYS/$OGIMG\""