diff options
author | ramon <ramongomez@us.es> | 2016-04-28 11:50:05 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-04-28 11:50:05 +0000 |
commit | 7db6a34e4bf99e79140e6026df4fdfaed2585a5c (patch) | |
tree | 3c445e5c6af45f06116e79d1ea166dbcfbf00272 /client/shared/etc/preinit | |
parent | 12d6d5b0e2fbd7e35f7a34a41cec9b02a54508e0 (diff) |
#244 #595 #724: Mejorar el soporte de idioma en el cliente y usar servicio Rsyslog en ogLive basado en Ubuntu 15.10
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4913 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/preinit')
-rwxr-xr-x | client/shared/etc/preinit/loadenviron.sh | 1 | ||||
-rwxr-xr-x | client/shared/etc/preinit/otherservices.sh | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/client/shared/etc/preinit/loadenviron.sh b/client/shared/etc/preinit/loadenviron.sh index d5b218be..893c3eaf 100755 --- a/client/shared/etc/preinit/loadenviron.sh +++ b/client/shared/etc/preinit/loadenviron.sh @@ -16,6 +16,7 @@ # Idioma por defecto. export LANG="${LANG:-es_ES}" +locale-gen $LANG # Directorios del projecto OpenGnSys. export OPENGNSYS="${OPENGNSYS:-/opt/opengnsys}" diff --git a/client/shared/etc/preinit/otherservices.sh b/client/shared/etc/preinit/otherservices.sh index 70210178..c9086ad4 100755 --- a/client/shared/etc/preinit/otherservices.sh +++ b/client/shared/etc/preinit/otherservices.sh @@ -11,6 +11,9 @@ # Lanzar servicios complementarios del cliente. echo "${MSG_OTHERSERVICES:-.}" +# Iniciar rsyslog, si es necesario. +[ -S /dev/log ] || service rsyslog start + # Adpatar la clave de "root" para acceso SSH. PASS=$(grep "^[ ]*\(export \)\?OPTIONS=" /scripts/ogfunctions 2>&1 | \ sed 's/\(.*\)pass=\(\w*\)\(.*\)/\2/') |