[Fai-commit] r4084 - trunk/lib
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Thu Oct 12 13:35:57 UTC 2006
Author: lange
Date: 2006-10-12 13:35:57 +0000 (Thu, 12 Oct 2006)
New Revision: 4084
Modified:
trunk/lib/subroutines-linux
Log:
rename variable sndhostname to sendhostname
Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux 2006-10-12 13:23:34 UTC (rev 4083)
+++ trunk/lib/subroutines-linux 2006-10-12 13:35:57 UTC (rev 4084)
@@ -45,7 +45,7 @@
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### BEGIN SUBROUTINE INFO
-# Provides-Var: $faimond $sndhostname
+# Provides-Var: $faimond $sendhostname
# Requires-Var: $LOGDIR $FAI
# Suggests-Var: $monserver
# Short-Description: <task desc.>
@@ -81,7 +81,7 @@
# check if monitor server is available
[ -z "$monserver" ] && monserver=$SERVER
faimond=1
- sndhostname=$HOSTNAME # save current hostname
+ sendhostname=$HOSTNAME # save current hostname
if sndmon check; then
echo "Monitoring to server $monserver enabled."
else
@@ -283,7 +283,7 @@
# send message to monitor daemon
[ "$faimond" -eq 0 ] && return 0
- echo "$sndhostname $*" | nc $monserver 4711 2>/dev/null
+ echo "$sendhostname $*" | nc $monserver 4711 2>/dev/null
return $?
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the Fai-commit
mailing list