Now starting portmap even if NFS server is disabled as portmap is needed to mount...
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Mon, 2 May 2011 01:38:08 +0000 (01:38 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Mon, 2 May 2011 01:38:08 +0000 (01:38 +0000)
stage3/bootscripts/portmap

index 3daf753..f386704 100755 (executable)
@@ -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