Package: debirf Version: 0.32 Severity: wishlist I am using the network-dhcp module, but I wanted the ability to control which device it was using via a variable. Here is a patch
--- network-dhcp.orig 2012-08-23 13:57:25.909072274 -0700 +++ network-dhcp 2012-08-23 13:57:45.777480866 -0700 @@ -14,11 +14,17 @@ # reset default udev persistent-net rule rm -f "${DEBIRF_ROOT}"/etc/udev/rules.d/*_persistent-net.rules +# if NIC isn't set, default to eth0 +if [ -z ${DEBIRF_NIC} ] +then + DEBIRF_NIC="eth0" +fi + ### configure network to come up automatically cat <<EOF > "${DEBIRF_ROOT}/etc/network/interfaces" auto lo iface lo inet loopback -auto eth0=dhcp +auto ${DEBIRF_NIC}=dhcp iface dhcp inet dhcp EOF What do you think? Thanks, -- Matt Taggart tagg...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org