From 8d039313e14fa2fa044c65a8a662cec4bd294859 Mon Sep 17 00:00:00 2001 From: datajerk Date: Sat, 13 Jun 2009 15:18:04 +0000 Subject: [PATCH] Bug fix for BLOCK=yes and no gpfs in fstab. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3566 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc b/xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc index b484cc586..ca27be4f5 100755 --- a/xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc +++ b/xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc @@ -47,6 +47,13 @@ case "$1" in DOBLOCK=yes fi + if grep "\bgpfs\b" /etc/fstab >/dev/null 2>&1 + then + : + else + DOBLOCK=no + fi + while [ "$DOBLOCK" = "yes" ] do DOBLOCK=no