I can't give you instructions specific to Debian, but this general procedure
should let you track down what you need.
NFS relies on 3 daemons:
-- rpc.portmap
-- rpc.mountd
-- rpc.nfsd
To prevent them from starting when you boot your system, find the lines in
the relevant rc files that run them and comment them out (go to /etc/rc.d
and run, for example, "grep nfsd *").
To start them by hand, the easiest way probably is to write a boot script
that starts the daemons (using the code you commented out of the rc
scripts). You only have to be sure to start rpc.portmap before you start the
other two, as they rely on it.
To stop it by hand, kill the 3 processes, probably with a script that uses
the "killall" command 3 times.
I assume you already know that you have to set up access rules in
/etc/exports to use NFS and that /etc/hosts.deny and /etc/hosts.allow work
for portmapper services pretty much the same as for inetd services.
At 06:02 PM 2/26/99 -0000, Pollywog wrote:
>I am new to Debian and I can't figure out how to stop NFS from starting on
>reboot (I am unfamiliar with the init scripts). I don't want it to start on
>reboot but I do want to be able to start and stop NFS manually. Does anyone
>know how I can do this?
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
762 Garland Drive
Palo Alto, CA 94303-3603
650.321.3561 voice 650.322.1209 fax [EMAIL PROTECTED]
----------------------------------------------------------------