From 63e20b4ee4f08d73c565d550527431c2f89a924d Mon Sep 17 00:00:00 2001 From: ankry Date: Wed, 28 May 2003 07:05:10 +0000 Subject: [PATCH] - LSB conformance Changed files: bluez-utils.init -> 1.6 --- bluez-utils.init | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bluez-utils.init b/bluez-utils.init index 70b4b4c..aae15d9 100644 --- a/bluez-utils.init +++ b/bluez-utils.init @@ -62,7 +62,6 @@ case "$1" in # show "Stopping %s service" Bluetooth msg_stopping Bluetooth killproc hcid - RETVAL=$? if [ "$UART_CONF" != "no" ]; then killproc hciattach >/dev/null 2>&1 fi @@ -85,13 +84,13 @@ case "$1" in RETVAL=$? else # show "%s service is not running." Bluetooth - msg_not_running Bluetooth - RETVAL=7 + msg_not_running Bluetooth >&2 + exit 7 fi ;; status) status hcid - RETVAL=$? + exit $? ;; *) # show "Usage: %s {start|stop|restart|reload|force-reload|status}" -- 2.43.0