summary refs log tree commit diff
path: root/nscd/nscd.init
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/nscd.init')
-rw-r--r--nscd/nscd.init16
1 files changed, 8 insertions, 8 deletions
diff --git a/nscd/nscd.init b/nscd/nscd.init
index 63172a0d1a..6dc9d76b33 100644
--- a/nscd/nscd.init
+++ b/nscd/nscd.init
@@ -22,14 +22,14 @@
 case "$1" in
     start)
 	secure=""
-#	for table in passwd group
-#	do
-#		if egrep '^'$table':.*nisplus' /etc/nsswitch.conf >/dev/null
-#		then
-#			/usr/lib/nscd_nischeck $table ||
-#				secure="$secure -S $table,yes"
-#		fi
-#	done
+	for table in passwd group hosts
+	do
+		if egrep '^'$table':.*nisplus' /etc/nsswitch.conf >/dev/null
+		then
+			/usr/sbin/nscd_nischeck $table ||
+				secure="$secure -S $table,yes"
+		fi
+	done
         echo -n "Starting Name Switch Cache Daemon: "
 	daemon nscd $secure
         echo