summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'users/beejay/baselayout/etc/init.d.old/nscd')
-rw-r--r--users/beejay/baselayout/etc/init.d.old/nscd37
1 files changed, 0 insertions, 37 deletions
diff --git a/users/beejay/baselayout/etc/init.d.old/nscd b/users/beejay/baselayout/etc/init.d.old/nscd
deleted file mode 100644
index 36aa74cad5..0000000000
--- a/users/beejay/baselayout/etc/init.d.old/nscd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/users/beejay/baselayout/etc/init.d.old/nscd,v 1.1 2003/12/31 20:30:00 beejay Exp $
-
-
-start() {
- ebegin "Starting Name Service Cache Daemon"
- secure=`while read curline ; do
- table=${curline%:*}
- entries=${curline##$table:}
- table=${table%%[^a-z]*}
- case $table in
- passwd*|group*|hosts)
- for entry in $entries ; do
- case $entry in
- nisplus*)
- /usr/sbin/nscd_nischeck $table || \
- /echo "-S $table,yes"
- ;;
- esac
- done
- ;;
- esac
- done < /etc/nsswitch.conf`
- start-stop-daemon --start --quiet --exec /usr/sbin/nscd -- $secure
- eend $?
-}
-
-stop () {
- ebegin "Shutting down Name Service Cache Daemon"
- start-stop-daemon --stop --quiet --pid /var/run/nscd.pid
- eend $?
-}
-
-
-# vim:ts=4