summaryrefslogtreecommitdiff
path: root/etc/rc.network
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-11-28 22:04:20 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-11-28 22:04:20 +0000
commitc757658c4b5e6d7b78f48d4c1413dfd8c1828ae7 (patch)
tree42f63be8bf239a6d90011c25eceafd1f9264ca9d /etc/rc.network
parentc86ca09964285d638fd9ce91a715ef1dbca6c54b (diff)
Notes
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/rc.network b/etc/rc.network
index c064c2e37c96..dc278476e7a0 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.1.2.22 1998/09/30 01:08:12 jdp Exp $
+# $Id: rc.network,v 1.1.2.23 1998/11/25 21:51:34 msmith Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -225,8 +225,9 @@ network_pass3() {
if [ "X${nfs_client_enable}" = X"YES" ]; then
echo -n ' nfsiod'; nfsiod ${nfs_client_flags}
- if [ ! "X${nfs_access_cache}" = X ]; then
- sysctl -w vfs.nfs.access_cache_timeout=${nfs_access_cache}
+ if [ "X${nfs_access_cache}" != X ]; then
+ sysctl -w vfs.nfs.access_cache_timeout=${nfs_access_cache} \
+ >/dev/null 2>&1
fi
fi