* nscd/nscd.init: Remove obsolete and commented-out -S option

handling.
This commit is contained in:
Ulrich Drepper 2006-12-01 20:12:54 +00:00
parent 610fa4a324
commit 4e3df412a1
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2006-12-01 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.init: Remove obsolete and commented-out -S option
handling.
2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with

View File

@ -49,15 +49,8 @@ prog=nscd
start () { start () {
[ -d /var/run/nscd ] || mkdir /var/run/nscd [ -d /var/run/nscd ] || mkdir /var/run/nscd
[ -d /var/db/nscd ] || mkdir /var/db/nscd [ -d /var/db/nscd ] || mkdir /var/db/nscd
secure=""
# for table in passwd group hosts
# do
# if egrep -q '^'$table':.*nisplus' /etc/nsswitch.conf; then
# /usr/lib/nscd_nischeck $table || secure="$secure -S $table,yes"
# fi
# done
echo -n $"Starting $prog: " echo -n $"Starting $prog: "
daemon /usr/sbin/nscd $secure daemon /usr/sbin/nscd
RETVAL=$? RETVAL=$?
echo echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd