summaryrefslogtreecommitdiffstats
path: root/client/shared/etc/init/default.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-08-27 09:13:16 +0000
committerramon <ramongomez@us.es>2014-08-27 09:13:16 +0000
commit5acde601217058e1ea38200496146f1be4176b6d (patch)
treeccbafbb38ab6d7e9bfd4571bb8625c602f1b4534 /client/shared/etc/init/default.sh
parentb9797f231348ec75500a7decd6b0e5dd4f8cb833 (diff)
#541 #645: Modificar función {{{ogGetOsVersion}}} para detectar Grub como última opción mostrando bien el sistema operativo instalado junto al cargador; evitar mensajes de error en el arranque si no está definida la variable {{{ogactiveadmin}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4369 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/init/default.sh')
-rwxr-xr-xclient/shared/etc/init/default.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/etc/init/default.sh b/client/shared/etc/init/default.sh
index 7d18def1..29a8cc04 100755
--- a/client/shared/etc/init/default.sh
+++ b/client/shared/etc/init/default.sh
@@ -22,7 +22,7 @@ fi
# Arranque de OpenGnSys Client daemon (socket).
if [ -x "$OPENGNSYS/bin/ogAdmClient" ]; then
echo "${MSG_LAUNCHCLIENT:-.}"
- [ $ogactiveadmin == "true" ] && boot="admin"
+ [ "$ogactiveadmin" == "true" ] && boot="admin"
# Indicar fichero de teclado de Qt para el idioma especificado (tipo "es.qmap").
[ -f /usr/local/etc/${LANG%_*}.qmap ] && export QWS_KEYBOARD="TTY:keymap=/usr/local/etc/${LANG%_*}.qmap"
# Ejecutar servicio cliente.