for ftp://$SIP/postscripts, "--cut-dirs" should be 1, not 2.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
68a9b1be07
commit
c874b9e858
@ -190,12 +190,10 @@ 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 2> /tmp/wget.log
|
||||
cd /xcatpost;
|
||||
mv postscripts/* ./;
|
||||
rm -rf postscripts;
|
||||
wget -l inf -nH -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$SIP/postscripts -P /xcatpost --cut-dirs=1 2> /tmp/wget.log
|
||||
chmod +x /xcatpost/*;
|
||||
|
||||
cd /xcatpost;
|
||||
PATH=/xcatpost:$PATH
|
||||
export PATH
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user