X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=utils%2Fbluez-utils%2Ffiles%2Fbluez-utils.init;h=43780f5e8a56119d924dd241f409a6430c7b7f13;hp=1a3227a693514a3f54d90a71d0b972479816254b;hb=062a2f295d5ff5d5536ce2426dbd7259b089f562;hpb=e3030db13af4b58c6cecdada8162a8aaf286eb38 diff --git a/utils/bluez-utils/files/bluez-utils.init b/utils/bluez-utils/files/bluez-utils.init index 1a3227a693..43780f5e8a 100644 --- a/utils/bluez-utils/files/bluez-utils.init +++ b/utils/bluez-utils/files/bluez-utils.init @@ -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 }