nfs(NADM) 19 June 1992 nfs(NADM) Name nfs - /etc/nfs - NFS start/stop script Syntax /etc/nfs start /etc/nfs stop Description The /etc/nfs command is used to start or stop the NFS software. NFS will start automatically at system startup time if /etc/nfs is linked to /etc/rc2.d/Sname Similarly, NFS will stop automatically at system shut- down time if /etc/nfs is linked to /etc/rc0.d/Kname See rc0(ADM) and rc2(ADM) for further information. The /etc/nfs command must be customized for a particular installation before it can be used. The following items may need to be edited: domain name The environment variable YPDOMAIN must be set to the name of your network information service (NIS) domain. The ypinit(NADM) command is generally used to initialize this variable. PATH The supplied path may require modification if com- mands run by /etc/nfs are in other directories. PROCS The PROCS variable contains a space-separated list of names of processes to kill when executing the stop function. If additional daemons are used, their names should be added to this list. daemons The standard NFS daemons are started at this point. Any additional daemons or other commands may be included in this section. Any of the standard dae- mons that are not desired may be removed or com- mented out. By default, pcnfsd(NADM), ypserv(NADM), and yppasswdd(NADM) are disabled. A transport service for NFS may have to be initialized before NFS is started. Conversely, the service may have to be turned off after NFS is brought down. Users of Lachman System V STREAMS TCP may use the tcp(ADMP) command of that product to do this. See also domainname(NC), portmap(NADM), rexd(NADM), pcnfsd(NADM), exports(NF,) mountd(NADM), nfsd(NADM), nfsclnt(NADM), statd(NADM), lckclnt(NADM), lockd(NADM), ypserv(NADM), ypbind(NADM), yppasswdd(NADM), nmountall(NADM), rc0(ADM), rc2(ADM), sh(C)