bluez-utils: sdpd is no longer a separate daemon.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12442 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
rwhitby 2008-08-30 22:10:57 +00:00
parent 8f5b6e53e9
commit 3b7b14dc11
3 changed files with 1 additions and 15 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bluez-utils
PKG_VERSION:=3.36
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://bluez.sourceforge.net/download

View File

@ -2,9 +2,6 @@ config hcid
# option config /etc/bluetooth/hcid.conf
option enabled 1
config sdpd
option enabled 0
config rfcomm
# option config /etc/bluetooth/rfcomm.conf
option enabled 0

View File

@ -31,15 +31,6 @@ hcid_config() {
[ "$enabled" -gt 0 ] && /usr/sbin/hcid $args
}
sdpd_config() {
local cfg="$1"
args=""
append_bool "$cfg" nodaemon "-n"
append_bool "$cfg" something "-m"
config_get_bool enabled "$cfg" "enabled" '1'
[ "$enabled" -gt 0 ] && /usr/sbin/sdpd $args
}
rfcomm_config() {
local cfg="$1"
args=""
@ -104,7 +95,6 @@ start() {
config_load bluetooth
config_foreach hcid_config hcid
config_foreach sdpd_config sdpd
config_foreach rfcomm_config rfcomm
config_foreach dund_config dund
config_foreach pand_config pand
@ -114,6 +104,5 @@ stop() {
killall dund
killall pand
/usr/bin/rfcomm release all
killall sdpd
killall hcid
}