[Pkg-bluetooth-commits] r1454 - /packages/bluez/trunk/debian/bluez.bluetooth.init

iwamatsu at users.alioth.debian.org iwamatsu at users.alioth.debian.org
Mon Aug 18 12:05:27 UTC 2014


Author: iwamatsu
Date: Mon Aug 18 12:05:27 2014
New Revision: 1454

URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=1454
Log:
Remove uarts support from init script

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=1454&op=diff
==============================================================================
--- packages/bluez/trunk/debian/bluez.bluetooth.init	(original)
+++ packages/bluez/trunk/debian/bluez.bluetooth.init	Mon Aug 18 12:05:27 2014
@@ -29,8 +29,6 @@
 
 HID2HCI_ENABLED=1
 HID2HCI_UNDO=1
-
-UART_CONF=/etc/bluetooth/uart
 
 SDPTOOL=/usr/bin/sdptool
 
@@ -81,23 +79,6 @@
 alias enable_hci_input=hci_input
 alias disable_hci_input=hci_input
 
-start_uarts()
-{
-	[ -f $HCIATTACH ] && [ -f $UART_CONF ] || return
-	grep -v '^#' $UART_CONF | while read i; do
-               if [ "$VERBOSE" != no ]; then
-                       $HCIATTACH $i
-               else
-                       $HCIATTACH $i >/dev/null 2>&1
-               fi
-	done
-}
-
-stop_uarts()
-{
-	killall ${HCIATTACH##*/} >/dev/null 2>&1 || :
-}
-
 case $1 in
   start)
 	log_daemon_msg "Starting $DESC"
@@ -112,8 +93,6 @@
 	log_progress_msg "${DAEMON##*/}"
 
 	run_sdptool || :
-
-	start_uarts || :
 
 	if test "$HID2HCI_ENABLED" = 1; then
 		enable_hci_input
@@ -133,7 +112,6 @@
 	fi
 	start-stop-daemon --stop $SSD_OPTIONS
 	log_progress_msg "${DAEMON}"
-	stop_uarts || :
 	log_end_msg 0
   ;;
   restart|force-reload)




More information about the Pkg-bluetooth-commits mailing list