Fix " is running" and " is not running" messages from openflow-switch init.d
authorBen Pfaff <blp@nicira.com>
Mon, 10 Nov 2008 21:56:11 +0000 (13:56 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 10 Nov 2008 21:56:11 +0000 (13:56 -0800)
With the "secchan" name in there it makes a lot more sense!

debian/openflow-switch.init

index 86a018c73c3cf737ee70c7fbeff831d90e63cba4..9b8acf6afa27361ffe8451da6c0d07cb2e581a36 100755 (executable)
@@ -96,7 +96,7 @@ force_stop() {
             kill -9 $pid
             [ -n "$DODTIME" ] && sleep "$DODTIME"s
             if running ; then
-                echo "Cannot kill $LABEL (pid=$pid)!"
+                echo "Cannot kill $NAME (pid=$pid)!"
                 exit 1
             fi
         fi
@@ -328,7 +328,7 @@ case "$1" in
         $0 start
        ;;
     status)
-        echo -n "$LABEL is "
+        echo -n "$NAME is "
         if running ;  then
             echo "running"
         else