updDebianPxeFiles.sh

#!/bin/bash
 
TARGET= /tftpboot/debian/i386
 
[ ! -d $TARGET ] && mkdir -p $TARGET
 
wget ftp://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz -O $TARGET/initrd.gz
wget ftp://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/netboot/debian-installer/i386/linux -O $TARGET/linux
wget ftp://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/netboot/mini.iso -O $TARGET/mini.iso
wget http://www.panticz.de/pxe/pxelinux.cfg/debian.i386.conf -0 /tftpboot/pxelinux.cfg/debian.i386.conf