From 8691edc84aac7b9de86e18e61e6a894b25063995 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 4 Dec 2007 18:01:49 +0000 Subject: [PATCH] Don't exit if /.xcat already exists. This is consistent with the other setup scripts. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../share/xcat/scripts/setup-local-client.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/xCAT-server-2.0/share/xcat/scripts/setup-local-client.sh b/xCAT-server-2.0/share/xcat/scripts/setup-local-client.sh index 01b8235b2..7f677c271 100755 --- a/xCAT-server-2.0/share/xcat/scripts/setup-local-client.sh +++ b/xCAT-server-2.0/share/xcat/scripts/setup-local-client.sh @@ -17,18 +17,10 @@ else USERHOME=`grep ^$1 /etc/passwd | cut -d: -f6` fi -# the home dir for root is "/" on AIX -# - need to avoid "//.xcat" below -# - should probably redo the logic below at some point -if test $USERHOME = / -then - USERHOME= -fi - XCATCADIR=$XCATDIR/ca if [ -e $USERHOME/.xcat ]; then - exit 0 +# exit 0 echo -n "$USERHOME/.xcat already exists, delete and start over (y/n)?" read ANSWER if [ "$ANSWER" != "y" ]; then