From 8d19e7aebf933bce8f9d27477877ac783a7eda15 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 10 Nov 2008 13:56:11 -0800 Subject: [PATCH] Fix " is running" and " is not running" messages from openflow-switch init.d With the "secchan" name in there it makes a lot more sense! --- debian/openflow-switch.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/openflow-switch.init b/debian/openflow-switch.init index 86a018c73..9b8acf6af 100755 --- a/debian/openflow-switch.init +++ b/debian/openflow-switch.init @@ -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 -- 2.43.0