/[pxelator]/lib/PXElator/pxe.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/pxe.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 102 by dpavlin, Fri Jul 31 22:36:06 2009 UTC revision 103 by dpavlin, Fri Jul 31 22:52:04 2009 UTC
# Line 19  my $url = $httpd::url; Line 19  my $url = $httpd::url;
19  #$url = "http://$server::ip/pxelator/";  #$url = "http://$server::ip/pxelator/";
20    
21  use LWP::Simple qw/mirror RC_NOT_MODIFIED/;  use LWP::Simple qw/mirror RC_NOT_MODIFIED/;
22  foreach my $file ( 'vmlinuz1', 'initrd1.img', 'debian-live-501-i386-rescue.squashfs' ) {  foreach my $file ( 'vmlinuz1', 'initrd1.img', 'debian-live-501-i386-standard.squashfs' ) {
23          my $path = "$tftpd::dir/debian-live";          my $path = "$tftpd::dir/debian-live";
24          mkdir $path unless -e $path;          mkdir $path unless -e $path;
25  #       next if -e "$path/$file";  #       next if -e "$path/$file";

Legend:
Removed from v.102  
changed lines
  Added in v.103

  ViewVC Help
Powered by ViewVC 1.1.26