From: Ben Pfaff Date: Mon, 10 Nov 2008 21:56:11 +0000 (-0800) Subject: Fix " is running" and " is not running" messages from openflow-switch init.d X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8d19e7aebf933bce8f9d27477877ac783a7eda15;p=sliver-openvswitch.git 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! --- 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