fixes for nfs_client, nfs_server division.

This commit is contained in:
glass 1993-04-10 20:15:30 +00:00
parent acb8f0aa7e
commit f5b725b323
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@ timedflags=
rwhod=NO
rwalld=YES
nfs_server=NO
nfs_client=NO
name_server=NO
gated=NO
kerberos_server=NO

5
etc/rc
View File

@ -154,10 +154,15 @@ echo -n ' printer'; lpd
echo -n ' portmap'; portmap
# if $nfs_server == YES, the machine is setup for being an nfs server
if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then
rm -f /var/db/mountdtab
echo -n ' mountd'; mountd
echo -n ' nfsd'; nfsd -u 0,0,4 -t 0,0
fi
# if $nfs_client == YES, the machine is setup for being an nfs client
if [ X${nfs_client} = X"YES" ]; then
echo -n ' nfsiod'; nfsiod 4
fi