pmaports/modem/ofono/ofono.initd
Luca Weiss 73f6cfa0aa
modem/ofono: update to 1.29 with qmi voicecall support (!511)
Tested on the pinephone devkit.

[ci:skip-build]: already built successfully in CI
2019-07-24 00:02:19 +02:00

21 lines
614 B
Text

#!/sbin/openrc-run
# 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"
# libsmdpkt_wrapper.so may not exist, if this device doesn't need it
start-stop-daemon --start --quiet --exec /usr/bin/env LD_PRELOAD=/usr/lib/preload/libsmdpkt_wrapper.so /usr/sbin/ofonod
eend $?
}
stop() {
ebegin "Stopping oFono"
start-stop-daemon --stop --quiet --exec /usr/sbin/ofonod
eend $?
}