--- loncom/build/Attic/CHECKRPMS_custom 2002/11/22 19:10:20 1.1 +++ loncom/build/Attic/CHECKRPMS_custom 2002/12/18 14:39:03 1.2 @@ -128,7 +128,6 @@ my $command_name=$0; # ---------------- The FTP servers (and their directory paths) to check against my @serverpaths_to_try = ( - 'ftpmirror:loncapa@install.lon-capa.org/pub/redhat/linux/updates/', 'mirror.pa.msu.edu/linux/redhat/linux/updates/', 'distro.ibiblio.org/pub/linux/distributions/redhat/updates/', 'limestone.uoregon.edu/redhat/updates/', @@ -212,7 +211,7 @@ SERVERLOOP: foreach my $serverpath (@ser $FTPSERVER_noauth=~s/^.*?\@//; print($out "Trying $FTPSERVER_noauth...\n"); # Notify of attempts with ip name. - `ping -c 1 $FTPSERVER_noauth 2>/dev/null`; # Ping ftp server (you there?). + `ping -c 1 -w 10 $FTPSERVER_noauth 2>/dev/null`;#Ping ftp server (u there?) if ($?==0) # If the ftp server can be pinged. { print($out "$FTPSERVER found...\n"); # Tell user ftp server is found.