fixes for nfs_client, nfs_server division.
This commit is contained in:
parent
acb8f0aa7e
commit
f5b725b323
@ -10,6 +10,7 @@ timedflags=
|
|||||||
rwhod=NO
|
rwhod=NO
|
||||||
rwalld=YES
|
rwalld=YES
|
||||||
nfs_server=NO
|
nfs_server=NO
|
||||||
|
nfs_client=NO
|
||||||
name_server=NO
|
name_server=NO
|
||||||
gated=NO
|
gated=NO
|
||||||
kerberos_server=NO
|
kerberos_server=NO
|
||||||
|
5
etc/rc
5
etc/rc
@ -154,10 +154,15 @@ echo -n ' printer'; lpd
|
|||||||
|
|
||||||
echo -n ' portmap'; portmap
|
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
|
if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then
|
||||||
rm -f /var/db/mountdtab
|
rm -f /var/db/mountdtab
|
||||||
echo -n ' mountd'; mountd
|
echo -n ' mountd'; mountd
|
||||||
echo -n ' nfsd'; nfsd -u 0,0,4 -t 0,0
|
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
|
echo -n ' nfsiod'; nfsiod 4
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user