I'm looking in /etc/rc.d/init.d/nfslock to make rpc.statd listen on a specific port in order to firewall it. I found -p $STATD_PORT but I can't find where this is defined. I want to change this from a random port to port 4000.
That initscript reads /etc/sysconfig/nfs if it exists, so you could create that file and define it there.
Paul.