]> git.pld-linux.org Git - packages/bluez-utils.git/commitdiff
- updated status section from r1.12
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 24 Jan 2007 18:59:36 +0000 (18:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bluez-utils.init -> 1.14

bluez-utils.init

index e4716e387455be028b1701a5ce858dbd36874436..e5e37b2dcd07ba71df787655db3c54391f2da182 100644 (file)
@@ -147,7 +147,11 @@ case "$1" in
        is_yes "${SDPD_ENABLE}" && status sdpd
        is_yes "${HIDD_ENABLE}" && status hidd
        is_yes "${DUND_ENABLE}" && status dund
-       exit $?
+       if [ -f /var/lock/subsys/bluetooth ]; then
+               exit 0
+       else
+               exit 1
+       fi              
        ;;
   *)
        msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
This page took 0.034068 seconds and 4 git commands to generate.