Commit 1688857c authored by Leigh B Stoller's avatar Leigh B Stoller

Do not use hardwired port for mountd in ELABINELAB.

parent 9a8aaa60
......@@ -23,11 +23,16 @@ sub Install($$$)
qq|nfs_server_flags="-u -t -n 16"|,
qq|syslogd_flags=""|);
# Do not hardwire the mountd port in elabinelab, no firewall issues.
my $mountd_port = "";
if (!$ELABINELAB) {
$mountd_port = "-p 900";
}
# No more NFS races as of 9.2!
if ($FBSD_MAJOR > 9 || ($FBSD_MAJOR == 9 && $FBSD_MINOR > 1)) {
push(@adds, qq|mountd_flags="-r -p 900 -S"|);
push(@adds, qq|mountd_flags="-r $mountd_port -S"|);
} else {
push(@adds, qq|mountd_flags="-r -p 900"|);
push(@adds, qq|mountd_flags="-r $mountd_port"|);
}
if (ISFS($server)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment