]> git.pld-linux.org Git - packages/bluez-utils.git/commitdiff
- LSB conformance
authorankry <ankry@pld-linux.org>
Wed, 28 May 2003 07:05:10 +0000 (07:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bluez-utils.init -> 1.6

bluez-utils.init

index 70b4b4cbd0e86817d2f3a6555dbb310c7dc764a7..aae15d9a1d796061ea44181ddcac50a07a1acc38 100644 (file)
@@ -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}"
This page took 0.032878 seconds and 4 git commands to generate.