瀏覽代碼

Added date of sipsak runs.

Nils Ohlmeier 23 年之前
父節點
當前提交
830e791a37
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      etc/serresponse

+ 4 - 2
etc/serresponse

@@ -42,6 +42,7 @@ if [ ! -e $LOCKF ] ; then
 	if [ ! -x $SIPSAK ] ; then
 		echo "serresponse did not find the required sipsak executable $SIPSAK" >> $TMP
 	else
+		date >> $TMP2
 		echo "  $SIPSAKCMD" >> $TMP2
 		echo "produced this output:" >> $TMP2
 		$SIPSAKCMD >> $TMP2 2>&1
@@ -50,6 +51,7 @@ if [ ! -e $LOCKF ] ; then
 			if [ $? -eq 0 ] ; then
 				sleep 15
 			fi
+			date >> $TMP3
 			echo "  $SIPSAKNCMD" >> $TMP3
 			echo "produced this output:" >> $TMP3
 			$SIPSAKNCMD >> $TMP3 2>&1
@@ -62,7 +64,7 @@ if [ ! -e $LOCKF ] ; then
 				echo "$LOCKF @ $HOSTN" >> $TMP
 				echo "(you presumably need to be root to do this)" >> $TMP
 				echo "" >> $TMP
-				echo "Command output of sipsak with fqdn follows:" >> $TMP
+				echo "Command output of sipsak with fqdn in Via follows:" >> $TMP
 				cat $TMP2 >> $TMP
 			else
 				echo "ser did not responses (fast enough) on requests with fqdn in Via" >> $TMP
@@ -73,7 +75,7 @@ if [ ! -e $LOCKF ] ; then
 				echo "$LOCKF @ $HOSTN" >> $TMP
 				echo "(you presumably need to be root to do this)" >> $TMP
 				echo "" >> $TMP
-				echo "First command output with fqdn:" >> $TMP
+				echo "First command output with fqdn in Via:" >> $TMP
 				cat $TMP2 >> $TMP
 				echo "" >> $TMP
 				echo "Second command output with IPs in Via:" >> $TMP