/[gentoo-x86]/net-wireless/bluez/files/rfcomm-init.d-r1
Gentoo

Contents of /net-wireless/bluez/files/rfcomm-init.d-r1

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Mar 30 08:21:22 2014 UTC (7 months ago) by pacho
Branch: MAIN
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)

1 #!/sbin/runscript
2 # Copyright 1999-2014 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/rfcomm-init.d,v 1.2 2013/12/23 23:05:20 eva Exp $
5
6 depend() {
7 after coldplug
8 need dbus localmount hostname
9 }
10
11 start() {
12 ebegin "Starting rfcomm"
13 /usr/bin/rfcomm bind all
14 eend $?
15 }
16
17 stop() {
18 ebegin "Shutting down rfcomm"
19 /usr/bin/rfcomm release all
20 eend $?
21 }

  ViewVC Help
Powered by ViewVC 1.1.20