SOURCES: bluez-utils.init - sdpd binary is no more
jajcus
jajcus at pld-linux.org
Wed May 28 21:17:45 CEST 2008
Author: jajcus Date: Wed May 28 19:17:45 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- sdpd binary is no more
---- Files affected:
SOURCES:
bluez-utils.init (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SOURCES/bluez-utils.init
diff -u SOURCES/bluez-utils.init:1.14 SOURCES/bluez-utils.init:1.15
--- SOURCES/bluez-utils.init:1.14 Wed Jan 24 19:59:36 2007
+++ SOURCES/bluez-utils.init Wed May 28 21:17:40 2008
@@ -31,14 +31,13 @@
fi
if is_yes "${HCID_ENABLE}" && [ -x /usr/sbin/hcid ]; then
+ HCID_FLAGS="-f /etc/bluetooth/hcid.conf"
+
+ if is_yes "${SDPD_ENABLE}" ; then
+ HCID_FLAGS="$HCID_FLAGS -s"
+ fi
msg_starting hcid
- daemon /usr/sbin/hcid -f /etc/bluetooth/hcid.conf
- RETVAL=$?
- fi
-
- if is_yes "${SDPD_ENABLE}" && [ -x /usr/sbin/sdpd ]; then
- msg_starting sdpd
- daemon /usr/sbin/sdpd
+ daemon /usr/sbin/hcid $HCID_FLAGS
RETVAL=$?
fi
@@ -99,11 +98,6 @@
killproc /usr/bin/hidd
fi
- if is_yes "${SDPD_ENABLE}" && [ -x /usr/sbin/sdpd ]; then
- msg_stopping sdpd
- killproc /usr/sbin/sdpd
- fi
-
if is_yes "${HCID_ENABLE}" && [ -x /usr/sbin/hcid ]; then
msg_stopping hcid
killproc /usr/sbin/hcid
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/bluez-utils.init?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list