Przeglądaj źródła

support for version added

Jiri Kuthan 23 lat temu
rodzic
commit
1a232d1c94
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      scripts/sc

+ 3 - 2
scripts/sc

@@ -1,4 +1,4 @@
-#!/bin/sh 
+#!/bin/sh
 #
 #
 # $Id$
 # $Id$
 #
 #
@@ -171,8 +171,9 @@ print_stats() {
 
 
 echo "[cycle #: $3; if constant make sure server lives and fifo is on]"
 echo "[cycle #: $3; if constant make sure server lives and fifo is on]"
 
 
-echo Up Time
 cat > $SER_FIFO <<EOF
 cat > $SER_FIFO <<EOF
+:version:$1
+
 :uptime:$1
 :uptime:$1
 
 
 EOF
 EOF