diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-libs/openct/files/openct.rc | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/openct/files/openct.rc')
-rw-r--r-- | dev-libs/openct/files/openct.rc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-libs/openct/files/openct.rc b/dev-libs/openct/files/openct.rc deleted file mode 100644 index b3ff33e974eb..000000000000 --- a/dev-libs/openct/files/openct.rc +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need localmount -} - -checkconfig() { - if [ ! -e /etc/openct.conf ] ; then - eerror "You need an /etc/openct.conf file to run OpenCT" - return 1 - fi - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting OpenCT" - /usr/sbin/openct-control init - eend $? -} - -stop() { - ebegin "Stopping OpenCT" - /usr/sbin/openct-control shutdown - eend $? -} |