SOURCES: bluez-utils.init - updated status section from r1.12

glen glen at pld-linux.org
Wed Jan 24 19:59:41 CET 2007


Author: glen                         Date: Wed Jan 24 18:59:41 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated status section from r1.12

---- Files affected:
SOURCES:
   bluez-utils.init (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SOURCES/bluez-utils.init
diff -u SOURCES/bluez-utils.init:1.13 SOURCES/bluez-utils.init:1.14
--- SOURCES/bluez-utils.init:1.13	Wed Jan 24 19:57:04 2007
+++ SOURCES/bluez-utils.init	Wed Jan 24 19:59:36 2007
@@ -147,7 +147,11 @@
 	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}"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/bluez-utils.init?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list