summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-19 23:35:39 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-19 23:57:30 -0400
commit4527c981cd47d02fbff8f4fad4c62cd4ad932cd2 (patch)
treee7a7ac8a9e9299c6540afb028f880bbb57c3d3bc /sys-apps/unscd/files
parentsys-libs/uclibc: move to https:// URLs (diff)
downloadgentoo-4527c981cd47d02fbff8f4fad4c62cd4ad932cd2.tar.gz
gentoo-4527c981cd47d02fbff8f4fad4c62cd4ad932cd2.tar.bz2
gentoo-4527c981cd47d02fbff8f4fad4c62cd4ad932cd2.zip
sys-apps/unscd: drop old <0.52 versions
Diffstat (limited to 'sys-apps/unscd/files')
-rw-r--r--sys-apps/unscd/files/unscd.initd40
1 files changed, 0 insertions, 40 deletions
diff --git a/sys-apps/unscd/files/unscd.initd b/sys-apps/unscd/files/unscd.initd
deleted file mode 100644
index 3fcb52b2c9c8..000000000000
--- a/sys-apps/unscd/files/unscd.initd
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- use dns ldap net slapd
-}
-
-checkconfig() {
- if [ ! -d /var/run/nscd ] ; then
- mkdir -p /var/run/nscd
- chmod 755 /var/run/nscd
- fi
- if [ -z "${NSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != "755" ] ; then
- echo ""
- ewarn "nscd run dir is not world readable, you should reset the perms:"
- ewarn "chmod 755 /var/run/nscd"
- ewarn "chmod a+rw /var/run/nscd/socket"
- echo ""
- ewarn "To disable this warning, set 'NSCD_PERMS_OK=1' in /etc/conf.d/unscd"
- echo ""
- fi
-}
-
-start() {
- checkconfig
-
- ebegin "Starting Name Service Cache Daemon (unscd)"
- start-stop-daemon --start --quiet \
- --exec /usr/sbin/unscd --pidfile /var/run/nscd/nscd.pid
- eend $?
-}
-
-stop() {
- ebegin "Shutting down Name Service Cache Daemon (unscd)"
- start-stop-daemon --stop --quiet \
- --exec /usr/sbin/unscd --pidfile /var/run/nscd/nscd.pid
- eend $?
-}