From 76a712084540d5654911c6ee6cf1a2b930894a3e Mon Sep 17 00:00:00 2001 From: Daniel Stefan Haischt Date: Sun, 14 Jan 2007 17:22:46 +0000 Subject: * fix: -> -mapall and -maproot mutually exclusive --- packages/freenas/pkg/freenas_services.inc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'packages/freenas/pkg') diff --git a/packages/freenas/pkg/freenas_services.inc b/packages/freenas/pkg/freenas_services.inc index 8d6f1940..184be1ec 100644 --- a/packages/freenas/pkg/freenas_services.inc +++ b/packages/freenas/pkg/freenas_services.inc @@ -417,17 +417,13 @@ function services_nfs_configure() { $a_mount = &$freenas_config['mounts']['mount']; foreach ($a_mount as $mount) { + /* -mapall and -maproot mutually exclusive */ + $mapping = $freenas_config['nfs']['mapall'] == "yes" ? "-mapall=root" : "-maproot=root"; + $nfsconf .= <<