diff options
author | irina <irinagomez@us.es> | 2013-03-27 16:33:02 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2013-03-27 16:33:02 +0000 |
commit | 831830f0a07fe03ef3d76bca69466a7f18233c24 (patch) | |
tree | b2cbe96e58d3e03705c78739931a417375d01ebb /admin/Sources/Services/opengnsys.init | |
parent | d2b8d242b5d2bac74026f80606e5091afd5f7d39 (diff) |
#493 Configurar el arranque PXE desde el cliente
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3719 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources/Services/opengnsys.init')
-rwxr-xr-x | admin/Sources/Services/opengnsys.init | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/Sources/Services/opengnsys.init b/admin/Sources/Services/opengnsys.init index 2c46fc70..19507b37 100755 --- a/admin/Sources/Services/opengnsys.init +++ b/admin/Sources/Services/opengnsys.init @@ -40,6 +40,11 @@ REPOAUXNAME=ogAdmRepoAux REPOAUXDAEMON=$BASEDIR/sbin/$REPOAUXNAME REPOAUXPORT=$(awk -F= '/PUERTO/ {print $2+1}' $SERVERCFG 2>/dev/null) ############## ADV +############# IRINA # para setBootMode desde el cliente +SERVERAUXNAME=ogAdmServerAux +SERVERAUXDAEMON=$BASEDIR/sbin/$SERVERAUXNAME +SERVERAUXPORT=2011 +############# IRINA # # Servidor de tareas programadas @@ -139,6 +144,10 @@ arranca_demonios() { $ACTIONMSG "Iniciando demonio: $SERVERNAME" $DAEMONSTART $SERVERDAEMON $EXTRAOPTS $SERVERDAEMON_OPTIONS $ENDOPTS [ $? = 0 ] && $SUCCESSMSG || $FAILMSG + # Para SetBootmode desde el cliente + $ACTIONMSG "Iniciando demonio: $SERVERAUXNAME" # + faucet $SERVERAUXPORT --daemon --in bash -c "$SERVERAUXDAEMON" # NUEVO + [ $? = 0 ] && $SUCCESSMSG || $FAILMSG fi if [ $RUN_OGADMSERVER = "yes" ] && [ $RUN_OGADMREPO = "yes" ]; then sleep 5 # Damos tiempo a que ogAdmServer este funcionando |