aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ofono/ofono.initd
blob: 517b3a2b11e49db7c51a69ed97b3b41c1eb85d82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Purpose License v2
# $Header: ./gentoo-x86-cvsroot/net-misc/ofono/files/ofono.initd,v 1.1 2009/08/24 13:20:40 dagger Exp $

depend() {
   need dbus
}

start() {
   ebegin "Starting oFono"
   start-stop-daemon --start --quiet --exec /usr/sbin/ofonod
   eend $?
}

stop() {
   ebegin "Stopping oFono"
   start-stop-daemon --stop --quiet --exec /usr/sbin/ofonod
   eend $?
}