From 4c0df6b47aba67fb906cd400311a2865ab6c32cd Mon Sep 17 00:00:00 2001 From: gobo72 Date: Mon, 2 May 2011 01:38:08 +0000 Subject: [PATCH] Now starting portmap even if NFS server is disabled as portmap is needed to mount NFS shares --- stage3/bootscripts/portmap | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/stage3/bootscripts/portmap b/stage3/bootscripts/portmap index 3daf753..f386704 100755 --- a/stage3/bootscripts/portmap +++ b/stage3/bootscripts/portmap @@ -1,6 +1,7 @@ #!/bin/sh # portmap +# Needed by both the NFS server and client # Source functions library source /etc/rc.d/init.d/functions @@ -11,9 +12,10 @@ log_script_name "$0 $*" source /etc/sysconfig/network/network-parameters # Check if NFS server must be enabled -if [ "x${NFS_SERVER_ENA}" != "xyes" -a "x${NFS_SERVER_ENA}" != "xYes" -a "x${NFS_SERVER_ENA}" != "xYES" ]; then - exit ${EXIT_CODE_SUCCESS} -fi +#if [ "x${NFS_SERVER_ENA}" != "xyes" -a "x${NFS_SERVER_ENA}" != "xYes" +#-a "x${NFS_SERVER_ENA}" != "xYES" ]; then +# exit ${EXIT_CODE_SUCCESS} +#fi # See how we were called case "$1" in -- 2.20.1