diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-05-19 00:30:58 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:45:03 -0500 |
commit | 16d9bb042ba476acebe9c929a599948eeb1e1fd0 (patch) | |
tree | 524260f27b78227d6629d440352e5c4566c4b0fd /system/nss-pam-ldapd/rc.nss-pam-ldapd | |
parent | ed44ab88bf1804906fa96f5b074d3ff2c6abf537 (diff) |
system/nss-pam-ldapd: Removed (added to Slackware).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/nss-pam-ldapd/rc.nss-pam-ldapd')
-rw-r--r-- | system/nss-pam-ldapd/rc.nss-pam-ldapd | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/system/nss-pam-ldapd/rc.nss-pam-ldapd b/system/nss-pam-ldapd/rc.nss-pam-ldapd deleted file mode 100644 index 0630c0a34907f..0000000000000 --- a/system/nss-pam-ldapd/rc.nss-pam-ldapd +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# -# rc.nss-pam-ldapd: start/stop/restart nslcd -# -# nslcd is a daemon that will do LDAP queries for local processes that want -# to do user, group, and other naming lookups (NSS), or do user authentication, -# authorization, or password modification (PAM). slapd is typically invoked -# at boot time, usually out of /etc/rc.d/rc.local. -# - -nslcd_start() { - if [ -x /usr/sbin/nslcd -a -r /etc/nslcd.conf ]; then - echo "Starting nslcd name service daemon: /usr/sbin/nslcd" - /usr/sbin/nslcd - fi -} - -nslcd_stop() { - echo "Stopping nslcd name service daemon..." - killall nslcd -} - -case "$1" in -'start') - nslcd_start - ;; -'stop') - nslcd_stop - ;; -'restart') - nslcd_stop - sleep 2 - nslcd_start - ;; -*) - echo "usage $0 start|stop|restart" -esac |