From: gobo72 Date: Mon, 2 May 2011 01:38:08 +0000 (+0000) Subject: Now starting portmap even if NFS server is disabled as portmap is needed to mount... X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=4c0df6b47aba67fb906cd400311a2865ab6c32cd;p=hvlinux.git Now starting portmap even if NFS server is disabled as portmap is needed to mount NFS shares --- 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