start() {
# Check if the service is already running?
if [ ! -f /var/lock/subsys/bluetooth ]; then
- msg_starting bluetooth; started
+ if is_yes "${DAEMON_ENABLE}" && [ -x /usr/sbin/bluetoothd ]; then
+ msg_starting bluetooth
+ daemon /usr/sbin/bluetoothd
+ RETVAL=$?
+ fi
+
if is_yes "${HID2HCI_ENABLE}" && [ -x /usr/sbin/hid2hci ]; then
msg_starting hid2hci
daemon /usr/sbin/hid2hci -0 -q #be quiet
killproc /usr/sbin/hcid
fi
+ if is_yes "${DAEMON_ENABLE}" && [ -x /usr/sbin/bluetoothd ]; then
+ msg_stopping bluetooth
+ killproc /usr/sbin/bluetoothd
+ fi
+
if [ "$UART_CONF" != "no" ]; then
killproc hciattach >/dev/null 2>&1
fi
Summary: Bluetooth utilities
Summary(pl.UTF-8): Narzędzia Bluetooth
Name: bluez
-Version: 4.13
+Version: 4.14
Release: 1
Epoch: 0
License: GPL v2+
Group: Applications/System
#Source0Download: http://www.bluez.org/download.html
Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
-# Source0-md5: 7ce8ed3a586782aa48251f9a547e287f
+# Source0-md5: 1f33ebac05d056879ceb4063e7b1def4
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}-udev.rules
--enable-shared \
--enable-static \
--enable-alsa \
- --enable-bccmd \
- --enable-configfiles \
- --enable-netlink \
--enable-audio \
--enable-bccmd \
+ --enable-configfiles \
--enable-cups \
--enable-dfutool \
--enable-dund \
--enable-hidd \
--enable-input \
--enable-manpages \
+ --enable-netlink \
--enable-network \
--enable-pand \
--enable-pcmciarules \
--enable-serial \
--enable-tools \
- --enable-test \
--enable-usb
%{__make} \