[Pkg-bluetooth-commits] r1309 - /packages/bluez/trunk/debian/bluez.bluetooth.init
iwamatsu at users.alioth.debian.org
iwamatsu at users.alioth.debian.org
Tue May 21 03:21:40 UTC 2013
Author: iwamatsu
Date: Tue May 21 03:21:39 2013
New Revision: 1309
URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=1309
Log:
Add NOPLUGIN_OPTION option, and --background option to start function
Modified:
packages/bluez/trunk/debian/bluez.bluetooth.init
Modified: packages/bluez/trunk/debian/bluez.bluetooth.init
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.bluetooth.init?rev=1309&op=diff
==============================================================================
--- packages/bluez/trunk/debian/bluez.bluetooth.init (original)
+++ packages/bluez/trunk/debian/bluez.bluetooth.init Tue May 21 03:21:39 2013
@@ -16,6 +16,7 @@
# LSB 3.0 compilance and enhancements by Filippo Giunchedi <filippo at debian.org>
#
# Updated for bluez 4.7 by Mario Limonciello <mario_limonciello at dell.com>
+# Updated for bluez 5.5 by Nobuhiro Iwamatsu <iwamatsu at debian.org>
#
# Note: older daemons like dund pand hidd are now shipped inside the
# bluez-compat package
@@ -36,7 +37,11 @@
RFCOMM_CONF=/etc/bluetooth/$RFCOMM_NAME.conf
SDPTOOL=/usr/bin/sdptool
-SSD_OPTIONS="--oknodo --quiet --exec $DAEMON"
+# If you want to be ignore error of "org.freedesktop.hostname1",
+# please enable NOPLUGIN_OPTION.
+# NOPLUGIN_OPTION="--noplugin=hostname"
+NOPLUGIN_OPTION=""
+SSD_OPTIONS="--oknodo --quiet --exec $DAEMON -- $NOPLUGIN_OPTION"
test -f $DAEMON || exit 0
@@ -146,7 +151,7 @@
exit 0
fi
- start-stop-daemon --start $SSD_OPTIONS
+ start-stop-daemon --start --background $SSD_OPTIONS
log_progress_msg "${DAEMON##*/}"
run_sdptool || :
More information about the Pkg-bluetooth-commits
mailing list