the "--cut-dirs=2" option makes that "wget" cannot get "_xcat" and "_ssh" from

ftp://$SIP/postscripts, it's removed now.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2010-04-22 07:01:31 +00:00
parent 3037c3b12c
commit 68a9b1be07

View File

@ -190,10 +190,12 @@ if grep 'rw /rw tmpfs ' /proc/mounts >& /dev/null; then
fi
rm -rf /xcatpost/*;
wget -l inf -nH -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$SIP/postscripts -P /xcatpost --cut-dirs=2 2> /tmp/wget.log
wget -l inf -nH -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$SIP/postscripts -P /xcatpost 2> /tmp/wget.log
cd /xcatpost;
mv postscripts/* ./;
rm -rf postscripts;
chmod +x /xcatpost/*;
cd /xcatpost;
PATH=/xcatpost:$PATH
export PATH