diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-09-23 22:04:28 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-09-28 02:51:24 +0300 |
commit | 5e34baec55f63841e81260e24dd3e81e5a18e6ee (patch) | |
tree | f5ea57f1e6ed8ad6bea591f5ca296e6ba9d0c7da /dev-libs/openct | |
parent | sys-apps/pcsc-tools: cleanup old (diff) | |
download | gentoo-5e34baec55f63841e81260e24dd3e81e5a18e6ee.tar.gz gentoo-5e34baec55f63841e81260e24dd3e81e5a18e6ee.tar.bz2 gentoo-5e34baec55f63841e81260e24dd3e81e5a18e6ee.zip |
dev-libs/openct: remove unused file
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-libs/openct')
-rw-r--r-- | dev-libs/openct/files/openct.initd (renamed from dev-libs/openct/files/openct.rc.2) | 2 | ||||
-rw-r--r-- | dev-libs/openct/files/openct.rc | 29 | ||||
-rw-r--r-- | dev-libs/openct/openct-0.6.20-r4.ebuild | 2 |
3 files changed, 2 insertions, 31 deletions
diff --git a/dev-libs/openct/files/openct.rc.2 b/dev-libs/openct/files/openct.initd index d07cc6116262..79f2336f3ea1 100644 --- a/dev-libs/openct/files/openct.rc.2 +++ b/dev-libs/openct/files/openct.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 depend() { 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 $? -} diff --git a/dev-libs/openct/openct-0.6.20-r4.ebuild b/dev-libs/openct/openct-0.6.20-r4.ebuild index b675d41066d2..8f874966fbf6 100644 --- a/dev-libs/openct/openct-0.6.20-r4.ebuild +++ b/dev-libs/openct/openct-0.6.20-r4.ebuild @@ -61,7 +61,7 @@ src_install() { use udev && udev_newrules etc/openct.udev 70-openct.rules - newinitd "${FILESDIR}"/openct.rc.2 openct + newinitd "${FILESDIR}"/openct.initd openct } pkg_postinst() { |