fixes for nfs_client, nfs_server division.
This commit is contained in:
parent
acb8f0aa7e
commit
f5b725b323
@ -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
5
etc/rc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user