summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_update.sh
diff options
context:
space:
mode:
authoralbertogp <albertogp@uma.es>2021-03-23 10:27:18 +0100
committeralbertogp <albertogp@uma.es>2021-05-03 17:10:49 +0200
commitbfda4ab0b571ca9acef2eea8b8287ee65cf129f7 (patch)
tree050f3ac6a36492e053640ab12cfb99a56d0052d0 /installer/opengnsys_update.sh
parent6747826c962cc3862446a4fb851858b5de196427 (diff)
"ID-824 Modificando comando setBootMode por bootOs"
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-xinstaller/opengnsys_update.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index 3a21072d..2378a8b4 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -749,7 +749,7 @@ function updateWebFiles()
perl -pi -e 's!http://!https://!g' $INSTALL_TARGET/www/controlacceso.php
NEWFILES="$NEWFILES $INSTALL_TARGET/www/controlacceso.php"
fi
-
+
# Compatibilidad con dispositivos móviles.
COMPATDIR="$INSTALL_TARGET/www/principal"
for f in acciones administracion aula aulas hardwares imagenes menus repositorios softwares; do
@@ -841,6 +841,12 @@ function createDirs()
mkdir -p ${INSTALL_TARGET}/{bin,doc,etc,lib,sbin,www}
mkdir -p ${INSTALL_TARGET}/{client,images/groups}
mkdir -p ${INSTALL_TARGET}/log/clients
+ if [ ! -d ${INSTALL_TARGET}/log/clients/setBootMode ]; then
+ mkdir -p ${INSTALL_TARGET}/log/clients/setBootMode
+ chmod 777 ${INSTALL_TARGET}/log/clients/setBootMode
+ else
+ chmod 777 ${INSTALL_TARGET}/log/clients/setBootMode
+ fi
ln -fs ${INSTALL_TARGET}/log /var/log/opengnsys
# Detectar directorio de instalación de TFTP.
if [ ! -L ${INSTALL_TARGET}/tftpboot ]; then