Only warn on non-default old nfsiod args.

This commit is contained in:
tsarna 2000-05-07 02:04:20 +00:00
parent 3d3dc5c594
commit fe4377f98c

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: sysctl,v 1.4 2000/04/15 21:14:51 tsarna Exp $
# $NetBSD: sysctl,v 1.5 2000/05/07 02:04:20 tsarna Exp $
#
# PROVIDE: sysctl
@ -23,10 +23,10 @@ sysctl_start()
__EOF__
fi
if [ "X$nfsiod_flags" != "X" ]; then
if [ "X$nfsiod_flags" != "X-n 4" ]; then
cat <<__EOF__
*** WARNING: /etc/rc.conf \$nfsiod_flags setting is obsolete. Please
*** set vfs.nfs.iothreads in /etc/sysctl.conf if using NFS client.
*** set vfs.nfs.iothreads in /etc/sysctl.conf
__EOF__
fi