diff options
Diffstat (limited to 'net-misc/connman/files/connman.initd2')
-rw-r--r-- | net-misc/connman/files/connman.initd2 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/connman/files/connman.initd2 b/net-misc/connman/files/connman.initd2 new file mode 100644 index 000000000000..d65d25998dfa --- /dev/null +++ b/net-misc/connman/files/connman.initd2 @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Purpose License v2 +# $Id$ + +depend() { + need dbus + provide net +} + +start() { + ebegin "Starting Connection Manager" + start-stop-daemon --start --quiet --exec /usr/sbin/connmand -- ${CONNMAN_OPTS} + eend $? +} + +stop() { + ebegin "Stopping Connection Manager" + start-stop-daemon --stop --quiet --exec /usr/sbin/connmand + eend $? +} + +# vim: set ft=gentoo-init-d ts=3 sw=3 et: |