diff options
Diffstat (limited to 'nscd/nscd.init')
-rw-r--r-- | nscd/nscd.init | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nscd/nscd.init b/nscd/nscd.init index 63172a0..6dc9d76 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 |