mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +00:00
tos-plus: Enable using wpa3
This commit is contained in:
@@ -151,9 +151,18 @@ if ($ttype ne "") {
|
||||
else {
|
||||
# Copy some place it can be seen easily?
|
||||
if ($rpt_dest ne "") {
|
||||
my $cp = "cp -ar $loc $rpt_dest";
|
||||
print "Copy test results: $cp\n";
|
||||
system($cp);
|
||||
if (-d $loc) {
|
||||
# Must be on the local system
|
||||
my $cp = "cp -ar $loc $rpt_dest";
|
||||
print "Copy test results: $cp\n";
|
||||
system($cp);
|
||||
}
|
||||
else {
|
||||
# Must be on remote system, try scp to get it.
|
||||
my $cp = "scp -r lanforge@$lfmgr_host:$loc $rpt_dest";
|
||||
print "Secure Copy test results: $cp\n";
|
||||
system($cp);
|
||||
}
|
||||
}
|
||||
last;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user