Browse code

Added date of sipsak runs.

Nils Ohlmeier authored on 09/09/2002 22:14:24
Showing 1 changed files
... ...
@@ -42,6 +42,7 @@ if [ ! -e $LOCKF ] ; then
42 42
 	if [ ! -x $SIPSAK ] ; then
43 43
 		echo "serresponse did not find the required sipsak executable $SIPSAK" >> $TMP
44 44
 	else
45
+		date >> $TMP2
45 46
 		echo "  $SIPSAKCMD" >> $TMP2
46 47
 		echo "produced this output:" >> $TMP2
47 48
 		$SIPSAKCMD >> $TMP2 2>&1
... ...
@@ -50,6 +51,7 @@ if [ ! -e $LOCKF ] ; then
50 51
 			if [ $? -eq 0 ] ; then
51 52
 				sleep 15
52 53
 			fi
54
+			date >> $TMP3
53 55
 			echo "  $SIPSAKNCMD" >> $TMP3
54 56
 			echo "produced this output:" >> $TMP3
55 57
 			$SIPSAKNCMD >> $TMP3 2>&1
... ...
@@ -62,7 +64,7 @@ if [ ! -e $LOCKF ] ; then
62 64
 				echo "$LOCKF @ $HOSTN" >> $TMP
63 65
 				echo "(you presumably need to be root to do this)" >> $TMP
64 66
 				echo "" >> $TMP
65
-				echo "Command output of sipsak with fqdn follows:" >> $TMP
67
+				echo "Command output of sipsak with fqdn in Via follows:" >> $TMP
66 68
 				cat $TMP2 >> $TMP
67 69
 			else
68 70
 				echo "ser did not responses (fast enough) on requests with fqdn in Via" >> $TMP
... ...
@@ -73,7 +75,7 @@ if [ ! -e $LOCKF ] ; then
73 75
 				echo "$LOCKF @ $HOSTN" >> $TMP
74 76
 				echo "(you presumably need to be root to do this)" >> $TMP
75 77
 				echo "" >> $TMP
76
-				echo "First command output with fqdn:" >> $TMP
78
+				echo "First command output with fqdn in Via:" >> $TMP
77 79
 				cat $TMP2 >> $TMP
78 80
 				echo "" >> $TMP
79 81
 				echo "Second command output with IPs in Via:" >> $TMP