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"; |