nfs-server boot script is wrong
The following corrections are need to the nfs-server script. Without this change, the boot script does not properly shut down nfs.
Change killproc /usr/sbin/rpc.nfsd to killproc nfsd
The reason for this is the process name is nfsd and not rpc.nfsd
Other enhancements to the script would be to add the following
On Startup before loadproc /usr/sbin/rpc.mountd add loadproc exportfs -r This will refresh the exports before loading the server
On Shutdown after killproc /usr/sbin/rpc.mountd add killproc rpc.statd This will properly kill rpc.statd