]> git.pld-linux.org Git - packages/bluez-utils.git/commitdiff
- sdpd binary is no more
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 28 May 2008 19:17:40 +0000 (19:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bluez-utils.init -> 1.15

bluez-utils.init

index e5e37b2dcd07ba71df787655db3c54391f2da182..df2c62f948c52a80e795ca462282b22d8cc9f729 100644 (file)
@@ -31,14 +31,13 @@ start() {
                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 @@ stop() {
                        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
This page took 0.03084 seconds and 4 git commands to generate.