Browse Source

"echo -n" removed

Jiri Kuthan 22 years ago
parent
commit
33cec97681
1 changed files with 6 additions and 6 deletions
  1. 6 6
      scripts/sc

+ 6 - 6
scripts/sc

@@ -501,7 +501,7 @@ case $1 in
 	start)
 		DIR=`dirname $0`
 		echo
-		echo -n "Starting SER : "
+		printf "Starting SER : "
 		if [ -r $PID_FILE ] ; then
 			echo "PID file exists! ($PID_FILE) already running?"
 			exit 1
@@ -518,7 +518,7 @@ case $1 in
 	;;
 
 	stop)
-		echo -n "Stopping SER : "
+		printf "Stopping SER : "
 		if [ -r $PID_FILE ] ; then
 			kill `cat $PID_FILE`
 			echo "stopped"
@@ -531,7 +531,7 @@ case $1 in
 
 	restart)
 	        DIR=`dirname $0`
-		echo -n "Stopping SER : "
+		printf "Stopping SER : "
 		if [ -r $PID_FILE ] ; then
 			kill `cat $PID_FILE`
 			echo "stopped"
@@ -540,7 +540,7 @@ case $1 in
 			exit 1
 		fi
 		sleep 2
-		echo -n "Starting SER : "
+		printf "Starting SER : "
 		if [ -r $PID_FILE ] ; then
 			echo "PID file exists! ($PID_FILE) already running?"
 			exit 1
@@ -701,8 +701,8 @@ case $1 in
 		else
 			sql_ro_query "$QUERY3"
 		fi
-		echo -n "Note: Due to usage of cache, server's list "
-		echo "may differ from DB list."
+		echo "Note: Due to usage of cache, server's list " \
+			"may differ from DB list."
 
 		;;