X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpatches%2F27_support_static_ip.patch;fp=debian%2Fpatches%2F27_support_static_ip.patch;h=0bef1cbf1fecad9fddf30745e7ce0b553a2873a4;hb=6d32dfe093885e3a10150ecc986501d7cb1c7d01;hp=4c6896ff32bc29a7fd9386f2a36417932070dc3a;hpb=a98122bd7721d262f12e6dfeaedad5337fd6b606;p=live-boot-grml.git diff --git a/debian/patches/27_support_static_ip.patch b/debian/patches/27_support_static_ip.patch index 4c6896f..0bef1cb 100644 --- a/debian/patches/27_support_static_ip.patch +++ b/debian/patches/27_support_static_ip.patch @@ -79,7 +79,7 @@ fi # split args of ethdevice=eth0,eth1 into "eth0 eth1" -@@ -374,38 +397,27 @@ +@@ -374,38 +397,29 @@ devlist="$devlist $device" done @@ -110,7 +110,9 @@ - export DEVICE="$dev" - break + IPV4ADDR="0.0.0.0" -+ . /tmp/net-${device}.conf ++ if [ -e "/tmp/net-${device}.conf" ]; then ++ . /tmp/net-${device}.conf ++ fi + if [ "${IPV4ADDR}" != "0.0.0.0" ]; then + export DEVICE="$dev $DEVICE" + # break # exit loop as we just use the irst