summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-02-07 17:42:42 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-09 23:37:04 +0100
commit2614dda33e678fb9b969ac7a3ee604596d1a29b2 (patch)
tree2a0cc5a4f31314324046b1d407e1240154116b8d
parentsys-auth/keystone: remove unused initd/confd files (diff)
downloadgentoo-2614dda33e678fb9b969ac7a3ee604596d1a29b2.tar.gz
gentoo-2614dda33e678fb9b969ac7a3ee604596d1a29b2.tar.bz2
gentoo-2614dda33e678fb9b969ac7a3ee604596d1a29b2.zip
sys-auth/nss-pam-ldapd: remove unused files
Closes: https://github.com/gentoo/gentoo/pull/3870
-rw-r--r--sys-auth/nss-pam-ldapd/files/nslcd-init37
-rw-r--r--sys-auth/nss-pam-ldapd/files/nslcd.rc35
2 files changed, 0 insertions, 72 deletions
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init b/sys-auth/nss-pam-ldapd/files/nslcd-init
deleted file mode 100644
index 77d8497edcb2..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nslcd-init
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-extra_commands="checkconfig"
-cfg="/etc/nslcd.conf"
-
-depend() {
- need net
- use dns logger
-}
-
-checkconfig() {
- if [ ! -f "$cfg" ] ; then
- eerror "Please create $cfg"
- eerror "Example config: /usr/share/nss-ldapd/nslcd.conf"
- return 1
- fi
- return 0
-}
-
-start() {
- checkpath -q -d /var/run/nslcd -o nslcd:nslcd
- checkconfig || return $?
-
- ebegin "Starting nslcd"
- start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \
- --exec /usr/sbin/nslcd
- eend $? "Failed to start nslcd"
-}
-
-stop() {
- ebegin "Stopping nslcd"
- start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid
- eend $? "Failed to stop nslcd"
-}
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.rc b/sys-auth/nss-pam-ldapd/files/nslcd.rc
deleted file mode 100644
index 6225b0ce279f..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nslcd.rc
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-opts="checkconfig"
-
-depend() {
- need net
- use dns logger
-}
-
-checkconfig() {
- if [ ! -f /etc/nss-ldapd.conf ] ; then
- eerror "Please create /etc/nss-ldapd.conf"
- eerror "Example config: /usr/share/nss-ldapd/nss-ldapd.conf"
- return 1
- fi
- return 0
-}
-
-start() {
- checkconfig || return $?
-
- ebegin "Starting nslcd"
- start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \
- --exec /usr/sbin/nslcd
- eend $? "Failed to start nslcd"
-}
-
-stop() {
- ebegin "Stopping nslcd"
- start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid
- eend $? "Failed to stop nslcd"
-}