Hi, In 9990-networking.sh (git HEAD) there is the following code (the same code snippet is available in 3.0~a24-1ubuntu1, the version available in Ubuntu Precise):
15 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l15> if [ -z "${NETBOOT}" ] && [ -z "${FETCH}" ] && [ -z "${HTTPFS}" ] && [ -z "${FTPFS}" ] 16 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l16> then 17 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l17> # support for Syslinux IPAPPEND parameter 18 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l18> # it sets the BOOTIF variable on the kernel parameter 19 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l19> 20 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l20> if [ -n "${BOOTIF}" ] 21 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l21> then 22 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l22> # pxelinux sets BOOTIF to a value based on the mac address of the 23 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l23> # network card used to PXE boot, so use this value for DEVICE rather 24 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l24> # than a hard-coded device name from initramfs.conf. this facilitates 25 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l25> # network booting when machines may have multiple network cards. 26 <http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/boot/9990-networking.sh;h=f32ae6c5abeb270b4f17da072c0f64a1a36dd801;hb=HEAD#l26> # pxelinux sets BOOTIF to 01-$mac_address What are the reason for only checking for BOOTIF if NETBOOT, FETCH, HTTPFS and FTPFS are empty? Imho you should be able to use BOOTIF to specify the device to boot from even if any of them are set. They have nothing to do with eachoterh. I.e 'if [-n "$BOOTIF}" ] ... fi' should be move before the 'if [ -s "${NFSBOOT}" ...". Best Regards /Björn <http://live.debian.net/gitweb?p=live-boot.git;a=blob_plain;f=scripts/boot/9990-networking.sh;hb=HEAD>
smime.p7s
Description: S/MIME Cryptographic Signature