summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-03-30 08:21:22 +0000
committerPacho Ramos <pacho@gentoo.org>2014-03-30 08:21:22 +0000
commitf2583781b8af157a6c55df6fc033b44261f5c125 (patch)
treeb6a2c4957dbd87e42e6ca31268154aa4543091a6 /net-wireless/bluez
parentVersion bump (diff)
downloadgentoo-2-f2583781b8af157a6c55df6fc033b44261f5c125.tar.gz
gentoo-2-f2583781b8af157a6c55df6fc033b44261f5c125.tar.bz2
gentoo-2-f2583781b8af157a6c55df6fc033b44261f5c125.zip
Fix rfcomm init.d script (#505786 by Christophe PEREZ and Bombino)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-wireless/bluez')
-rw-r--r--net-wireless/bluez/ChangeLog5
-rw-r--r--net-wireless/bluez/files/rfcomm-init.d-r121
2 files changed, 25 insertions, 1 deletions
diff --git a/net-wireless/bluez/ChangeLog b/net-wireless/bluez/ChangeLog
index a55b28c34ebe..93f2c3f93b14 100644
--- a/net-wireless/bluez/ChangeLog
+++ b/net-wireless/bluez/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-wireless/bluez
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.195 2014/03/30 08:19:46 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.196 2014/03/30 08:21:22 pacho Exp $
+
+ 30 Mar 2014; Pacho Ramos <pacho@gentoo.org> +files/rfcomm-init.d-r1:
+ Fix rfcomm init.d script (#505786 by Christophe PEREZ and Bombino)
*bluez-5.17 (30 Mar 2014)
diff --git a/net-wireless/bluez/files/rfcomm-init.d-r1 b/net-wireless/bluez/files/rfcomm-init.d-r1
new file mode 100644
index 000000000000..535c0b0c70a4
--- /dev/null
+++ b/net-wireless/bluez/files/rfcomm-init.d-r1
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/rfcomm-init.d-r1,v 1.1 2014/03/30 08:21:22 pacho Exp $
+
+depend() {
+ after coldplug
+ need dbus localmount hostname
+}
+
+start() {
+ ebegin "Starting rfcomm"
+ /usr/bin/rfcomm bind all
+ eend $?
+}
+
+stop() {
+ ebegin "Shutting down rfcomm"
+ /usr/bin/rfcomm release all
+ eend $?
+}