diff options
author | ramon <ramongomez@us.es> | 2012-01-12 21:42:42 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-01-12 21:42:42 +0000 |
commit | 01a36ca91d365201128776aaf88756437f0d2fa6 (patch) | |
tree | 4564cb8192319d89d04a085771dc6a8e8a5291f3 /client/shared/etc/preinit | |
parent | c39fac3c12e2b21199a25334c9d06194ebe5e0d0 (diff) |
Verión 1.0.3, #476: llamada al script {{{otherservices.sh}}}
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2435 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/preinit')
-rwxr-xr-x | client/shared/etc/preinit/default.sh | 3 | ||||
-rwxr-xr-x | client/shared/etc/preinit/otherservices.sh | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/client/shared/etc/preinit/default.sh b/client/shared/etc/preinit/default.sh index addab9aa..0c697b65 100755 --- a/client/shared/etc/preinit/default.sh +++ b/client/shared/etc/preinit/default.sh @@ -5,10 +5,9 @@ set -a source /opt/opengnsys/etc/preinit/loadenviron.sh # Scripts de inicio. -for f in fileslinks loadmodules mountrepo poweroff; do +for f in fileslinks loadmodules mountrepo poweroff otherservices; do $OGETC/preinit/$f.sh done - unset f if [ -f $OGETC/init/$OG_IP.sh ]; then diff --git a/client/shared/etc/preinit/otherservices.sh b/client/shared/etc/preinit/otherservices.sh index 99a8922e..67b28f71 100755 --- a/client/shared/etc/preinit/otherservices.sh +++ b/client/shared/etc/preinit/otherservices.sh @@ -19,7 +19,7 @@ echo -ne "$PASS\n$PASS\n" | passwd root 2>/dev/null # Cargar el entorno OpenGnSys en conexión SSH. cp -a $OPENGNSYS/etc/preinit/loadenviron.sh /etc/profile.d/ # Arrancar SSH. -/usr/sbin/sshd +/usr/sbin/sshd 2>/dev/null # Desactivado apagado de monitor. #setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1 |