diff options
author | ramon <ramongomez@us.es> | 2018-01-25 09:47:08 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2018-01-25 09:47:08 +0000 |
commit | b51a508aeb09be6905a4b2216620803dd085b905 (patch) | |
tree | 6a732e7107f07cdd47c734d567a7f22195b7c5d6 /installer | |
parent | aa26f6e8aeed4a582f6d0238b2d99a5a3b6d6406 (diff) |
#730: Eliminar ficheros y código en desuso.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5583 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/install_ticket_wolunicast.sh | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/installer/install_ticket_wolunicast.sh b/installer/install_ticket_wolunicast.sh deleted file mode 100755 index 10c074c8..00000000 --- a/installer/install_ticket_wolunicast.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash -# Instalación del ticket 513: Wake-On-Lan por IP en Unicast. - -# Declaración de variables. -TICKET="513-WOL-Unicast"; -SVNURLSOURCE="http://opengnsys.es/svn/branches/version1.0-tickets/Resueltos/wake_on_lan_por_IP_unicast_ticket513/"; -BASEDIR="/opt/opengnsys/"; -TICKETDIR="${BASEDIR}tickets/"; -TARGETDIR="${TICKETDIR}${TICKET}/"; -LISTTOBACKUP="${TICKETDIR}${TICKET}-BACKUP.txt"; -FILEBACKUP="${TICKETDIR}${TICKET}-BACKUP.tgz"; -SVNURLSOURCEBASE="http://opengnsys.es/svn/branches/version1.0/admin/Sources/"; - -#TODO comprobar version de opengnsys. - -echo "Parando los servios." -/etc/init.d/opengnsys stop -sleep 5 - -mkdir -p $TARGETDIR; -echo "Descargando base de los sources" -svn export --force $SVNURLSOURCEBASE $TARGETDIR/admin/Sources; -if [ ! -d $TARGETDIR/admin/Sources ]; then - echo "Error de acceso a los ficheros fuente" >&2 - exit 1 -fi -echo "Descando modificaciones del ticket" -svn export --force $SVNURLSOURCE $TARGETDIR/; -find $TARGETDIR -name .svn -type d -exec rm -fr {} \; - -## Especifico de este tiket -mv ${TARGETDIR}/admin/WebConsole ${TARGETDIR}/www/ - -echo "Generando fichero de los archivos involucrados en $LISTTOBACKUP " -find $TARGETDIR -type f | egrep -v 'Sources|installer-info' | awk -F"$TARGETDIR" '{print $2}' > $LISTTOBACKUP; - -#compilamos el ogAdmServer -cd ${TARGETDIR}/admin/Sources/Services/ogAdmServer -make -mkdir -p ${TARGETDIR}sbin/ -cp -a ${TARGETDIR}admin/Sources/Services/ogAdmServer/ogAdmServer ${BASEDIR}sbin/. -echo "sbin/ogAdmServer" >> $LISTTOBACKUP; -## - -echo "Creando backup en $FILEBACKUP " -cd $BASEDIR; -[ -f $FILEBACKUP ] || tar czvf $FILEBACKUP -T $LISTTOBACKUP 2>/dev/null; - -echo "Copiando estructura de opengnsys" -cp -av ${TARGETDIR}/[^installer][^admin]* ${BASEDIR}; - -echo "Inicando los servicios" -/etc/init.d/opengnsys start -sleep 5 - |