changed the copy to an rsync, save a couple of secs, not as much as I hoped.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-12-01 11:48:51 +00:00
parent 13e6fc1d17
commit db652b82d4

View File

@ -214,7 +214,8 @@ if ( !(-f "/xcatpost/xcataixpost") || $::opt_c ) {
my $cpcmd;
if ((@ARGV==0) || ($ARGV[0] != 2)) {
$cpcmd = "cp -p -R /xcatmnt/* /xcatpost 2>/dev/null";
#$cpcmd = "cp -p -R /xcatmnt/* /xcatpost 2>/dev/null";
$cpcmd = "/usr/bin/rsync -Lprogtz /xcatmnt/* /xcatpost 2>/dev/null";
} else {
# when argv[1]=2, there is only one postscript file,
# user wants only download it to save time