[NTLUG:Discuss] nfsiod ?
quikdraw@metronet.com
quikdraw at metronet.com
Thu Dec 2 12:53:07 CST 1999
Michael Sandfort wrote:
> Sorry, I should have said that I'm running RedHat. I'm accustomed to
> being able to manage services with inetd.conf, but I guess nfs isn't
> really a service. I poked around in /etc/rc.d/init.d/nfs, but it wasn't
> clear how to shut it down (or keep it from starting) apart from deleting
> or moving the zero-length file /etc/exports. Is this the way to do it?
To start/stop nfs and/or several other services at startup on RedHat,
use the "setup" command from the prompt. Select the option near the
middle of the pack (sorry I'm not near a Linux box at this time), that
says something like "system services". Then scroll down to the nfs
option and uncheck it.
You can start/stop/restart it (on RedHat), by using the script you
mentioned above, with the desired option.
To start NFS: /etc/rc.d/init.d/nfs start
To stop NFS: /etc/rc.d/init.d/nfs stop
To restart NFS: /etc/rc.d/init.d/nfs restart
This works for most if not all of the service scripts in the
/etc/rc.d/init.d directory.
Hope that helps...
Derek
More information about the Discuss
mailing list