summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1998-01-21 23:35:56 +0000
committerdownsj <downsj@openbsd.org>1998-01-21 23:35:56 +0000
commit95dbe37529bb6d5743ac3562ecbf6510b42e82d6 (patch)
tree95daa8089e64219b48d04abd2399c7386d65a143
parenterror (diff)
downloadwireguard-openbsd-95dbe37529bb6d5743ac3562ecbf6510b42e82d6.tar.xz
wireguard-openbsd-95dbe37529bb6d5743ac3562ecbf6510b42e82d6.zip
Add ${nfsiod_flags}
-rw-r--r--etc/rc4
-rw-r--r--etc/rc.conf5
2 files changed, 5 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index 9633627f127..2a2b5bb85dc 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.58 1997/12/21 06:40:50 deraadt Exp $
+# $OpenBSD: rc,v 1.59 1998/01/21 23:35:56 downsj Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -177,7 +177,7 @@ fi
# $nfs_client is imported from /etc/rc.conf;
# if $nfs_client == YES, the machine is setup for being an nfs client
if [ X${nfs_client} = X"YES" ]; then
- echo -n ' nfsiod'; nfsiod -n 4
+ echo -n ' nfsiod'; nfsiod ${nfsiod_flags}
fi
if [ X${amd} = X"YES" -a -d ${amd_dir} -a -r ${amd_master} ]; then
diff --git a/etc/rc.conf b/etc/rc.conf
index 2410cd915e1..a5fd24f7dd5 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.8 1998/01/11 01:21:54 angelos Exp $
+# $OpenBSD: rc.conf,v 1.9 1998/01/21 23:35:57 downsj Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for 'normal' use: routed_flags="-q"
@@ -36,7 +36,8 @@ ipforward=NO # route packets between interfaces
gated_flags=
ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc
yppasswdd_flags= # "-d /etc/yp" if passwd files are in /etc/yp
-nfsd_flags="-tun 4" # Crank the 4 for a busy fileserver
+nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver
+nfsiod_flags="-n 4" # Crank the 4 for a busy NFS client
amd_dir=/tmp_mnt # AMD's mount directory
amd_master=/etc/amd/master # AMD 'master' map
ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering