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
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/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 # PROVIDE: sysctl
@ -23,10 +23,10 @@ sysctl_start()
__EOF__ __EOF__
fi fi
if [ "X$nfsiod_flags" != "X" ]; then if [ "X$nfsiod_flags" != "X-n 4" ]; then
cat <<__EOF__ cat <<__EOF__
*** WARNING: /etc/rc.conf \$nfsiod_flags setting is obsolete. Please *** 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__ __EOF__
fi fi