summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/nfsuserd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/nfsuserd')
-rwxr-xr-xetc/rc.d/nfsuserd9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/rc.d/nfsuserd b/etc/rc.d/nfsuserd
index 52246bb..d98d16e 100755
--- a/etc/rc.d/nfsuserd
+++ b/etc/rc.d/nfsuserd
@@ -15,5 +15,14 @@ command="/usr/sbin/${name}"
sig_stop="USR1"
load_rc_config $name
+start_precmd="nfsuserd_precmd"
+
+nfsuserd_precmd()
+{
+ if checkyesno nfs_server_managegids; then
+ rc_flags="-manage-gids ${nfsuserd_flags}"
+ fi
+ return 0
+}
run_rc_command "$1"
OpenPOWER on IntegriCloud