Gentoo Archives: gentoo-commits

From: "Robert Piasek (dagger)" <dagger@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/connman/files: connman.initd
Date: Mon, 24 Aug 2009 13:24:10
Message-Id: E1MfZWq-0002w3-Nt@stork.gentoo.org
1 dagger 09/08/24 13:24:08
2
3 Added: connman.initd
4 Log:
5 New ebuild for connman - intel's connection manager
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/connman/files/connman.initd
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/connman/files/connman.initd?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/connman/files/connman.initd?rev=1.1&content-type=text/plain
13
14 Index: connman.initd
15 ===================================================================
16 #!/sbin/runscript
17 # Copyright 1999-2009 Gentoo Foundation
18 # Distributed under the terms of the GNU General Purpose License v2
19 # $Header: /var/cvsroot/gentoo-x86/net-misc/connman/files/connman.initd,v 1.1 2009/08/24 13:24:08 dagger Exp $
20
21 depend() {
22 need dbus
23 }
24
25 start() {
26 ebegin "Starting Connection Manager"
27 start-stop-daemon --start --quiet --exec /usr/sbin/connmand
28 eend $?
29 }
30
31 stop() {
32 ebegin "Stopping Connection Manager"
33 start-stop-daemon --stop --quiet --exec /usr/sbin/connmand
34 eend $?
35 }
36
37 # vim: set ft=gentoo-init-d ts=3 sw=3 et: