Browse Source

Add ${nfsiod_flags}

OPENBSD_2_3
downsj 26 years ago
parent
commit
b57e53b225
2 changed files with 5 additions and 4 deletions
  1. +2
    -2
      src/etc/rc
  2. +3
    -2
      src/etc/rc.conf

+ 2
- 2
src/etc/rc View File

@ -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


+ 3
- 2
src/etc/rc.conf View File

@ -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


Loading…
Cancel
Save