From: | "Robert Piasek (dagger)" <dagger@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/ofono/files: ofono.initd |
Date: | Mon, 24 Aug 2009 13:20:42 |
Message-Id: | E1MfZTU-0002kO-MF@stork.gentoo.org |
1 | dagger 09/08/24 13:20:40 |
2 | |
3 | Added: ofono.initd |
4 | Log: |
5 | New ebuild for ofono |
6 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-misc/ofono/files/ofono.initd |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ofono/files/ofono.initd?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ofono/files/ofono.initd?rev=1.1&content-type=text/plain |
13 | |
14 | Index: ofono.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/ofono/files/ofono.initd,v 1.1 2009/08/24 13:20:40 dagger Exp $ |
20 | |
21 | depend() { |
22 | need dbus |
23 | } |
24 | |
25 | start() { |
26 | ebegin "Starting oFono" |
27 | start-stop-daemon --start --quiet --exec /usr/sbin/ofonod |
28 | eend $? |
29 | } |
30 | |
31 | stop() { |
32 | ebegin "Stopping oFono" |
33 | start-stop-daemon --stop --quiet --exec /usr/sbin/ofonod |
34 | eend $? |
35 | } |
36 | |
37 | # vim: set ft=gentoo-init-d ts=3 sw=3 et: |