Commit 94b9fc7d authored by Mike Hibler's avatar Mike Hibler

Fix the variable name used to signal enabling of quotas.

(cherry picked from commit a40076be)
parent 424e3a35
......@@ -23,12 +23,22 @@ sub Install($$$)
qq|nfs_server_flags="-u -t -n 16"|,
qq|mountd_flags="-r -p 900"|,
qq|syslogd_flags=""|);
if (ISFS($server) && $WINSUPPORT) {
if ($FBSD_MAJOR > 8 || ($FBSD_MAJOR == 8 && $FBSD_MINOR > 2)) {
push(@adds, qq|samba_enable="YES"|);
push(@adds, qq|nmbd_enable="NO"|);
} else {
push(@adds, qq|smbd_enable="YES"|);
if (ISFS($server)) {
if ($WINSUPPORT) {
if ($FBSD_MAJOR > 8 || ($FBSD_MAJOR == 8 && $FBSD_MINOR > 2)) {
push(@adds, qq|samba_enable="YES"|);
push(@adds, qq|nmbd_enable="NO"|);
} else {
push(@adds, qq|smbd_enable="YES"|);
}
}
if ($QUOTA_FSLIST ne "") {
if ($FBSD_MAJOR > 8 || ($FBSD_MAJOR == 8 && $FBSD_MINOR > 2)) {
push(@adds, qq|quota_enable="YES"|);
} else {
push(@adds, qq|enable_quotas="YES"|);
}
}
}
......
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