Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/bluez/files: rfcomm-init.d-r1
Date: Sun, 30 Mar 2014 08:21:27
Message-Id: 20140330082122.5662C20057@flycatcher.gentoo.org
1 pacho 14/03/30 08:21:22
2
3 Added: rfcomm-init.d-r1
4 Log:
5 Fix rfcomm init.d script (#505786 by Christophe PEREZ and Bombino)
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
8
9 Revision Changes Path
10 1.1 net-wireless/bluez/files/rfcomm-init.d-r1
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/files/rfcomm-init.d-r1?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/files/rfcomm-init.d-r1?rev=1.1&content-type=text/plain
14
15 Index: rfcomm-init.d-r1
16 ===================================================================
17 #!/sbin/runscript
18 # Copyright 1999-2014 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/rfcomm-init.d-r1,v 1.1 2014/03/30 08:21:22 pacho Exp $
21
22 depend() {
23 after coldplug
24 need dbus localmount hostname
25 }
26
27 start() {
28 ebegin "Starting rfcomm"
29 /usr/bin/rfcomm bind all
30 eend $?
31 }
32
33 stop() {
34 ebegin "Shutting down rfcomm"
35 /usr/bin/rfcomm release all
36 eend $?
37 }