From e3f2784d60aa624a30eed1b6582cb42da7b048df Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 30 Sep 2005 00:34:22 +0000 Subject: [PATCH] Branch b1_4 fix for nonexistent modules.conf --- lustre/utils/module_setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/utils/module_setup.sh b/lustre/utils/module_setup.sh index 79e41dc..ff3b7bf 100755 --- a/lustre/utils/module_setup.sh +++ b/lustre/utils/module_setup.sh @@ -43,6 +43,7 @@ echo "Copying mount and acceptor from local build dir to "$MDIR cp ../../portals/utils/acceptor /sbin/. cp ../utils/mount.lustre /sbin/. +[ -e $MODFILE ] || touch $MODFILE if [ `grep -c lustre $MODFILE` -eq 0 ]; then echo Modifying $MODFILE echo "# Lustre modules added by $0" >> $MODFILE -- 1.8.3.1