MFC: 1.16:
In mountd_precmd(), use rc_args, not mountd_args to override the value of mountd_args. This fixes the problem where mountd_args was not properly being set if weak_mountd_authentifcation="YES" was set in rc.conf. PR: conf/86260 Submitted by: Thierry Herbelot <thierry at herbelot dot com> Approved by: re (kensmith)
This commit is contained in:
parent
2b4d75fb47
commit
63a5da33bb
@ -29,11 +29,11 @@ mountd_precmd()
|
||||
#
|
||||
if checkyesno nfs_server_enable ; then
|
||||
if checkyesno weak_mountd_authentication; then
|
||||
mountd_flags="${mountd_flags} -n"
|
||||
rc_flags="${mountd_flags} -n"
|
||||
fi
|
||||
else
|
||||
if checkyesno mountd_enable; then
|
||||
checkyesno weak_mountd_authentication && mountd_flags="-n"
|
||||
checkyesno weak_mountd_authentication && rc_flags="-n"
|
||||
fi
|
||||
fi
|
||||
rm -f /var/db/mountdtab
|
||||
|
Loading…
x
Reference in New Issue
Block a user