Subversion Repositories camp_sysinfo_client_3

Rev

Rev 67 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 67 Rev 81
Line 8... Line 8...
8
# get files from server
8
# get files from server
9
my $saveDir = `pwd`;
9
my $saveDir = `pwd`;
10
chomp $saveDir;
10
chomp $saveDir;
11
chdir( '/tmp');
11
chdir( '/tmp');
12
 
12
 
13
`wget -q http://clara.dailydata.net:22080/uploadFiles299q/sendEmail/sendEmail.tgz`;  
13
`wget -q --no-check-certificate https://clara.dailydata.net:22081/uploadFiles299q/sendEmail/sendEmail.tgz`;  
14
 
14
 
15
# Add sendEmail to server   
15
# Add sendEmail to server   
16
if ( -d '/opt/sendEmail' ) {
16
if ( -d '/opt/sendEmail' ) {
17
   warn "/opt/sendEmail exists, moving it to /opt/sendEmail.old\n";
17
   warn "/opt/sendEmail exists, moving it to /opt/sendEmail.old\n";
18
   `mv /opt/sendEmail /opt/sendEmail.old`;
18
   `mv /opt/sendEmail /opt/sendEmail.old`;