[blfs-support] playing with /etc/services

lux-integ lux-integ at btconnect.com
Sun Mar 10 12:39:58 PDT 2013


For nfs   the statd port is determined by the kernel. It can be determined byy 
some script    i.e. something like

statd_port=$(/bin/sh /path/to/somescript)

For firewall and other uses,  it would be useful to fetch the port number by 
such a script.  So can one put a line such like  the the above  /etc/services   
for this purpose?

thanks in advance


More information about the blfs-support mailing list