X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F23networking;h=9554b77feba241721655ae9c8604148d3a2115a4;hb=58b4414c1a1119bd6ad0372bdfc609f26d7c1402;hp=8c856c6cc2ab24369278f2e8088abf829c3c3bc4;hpb=dec6a00c5f22525a634eca0d48740076bd2c5c0e;p=live-boot-grml.git diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking index 8c856c6..9554b77 100755 --- a/scripts/live-bottom/23networking +++ b/scripts/live-bottom/23networking @@ -65,10 +65,18 @@ allow-hotplug ${ifname} iface ${ifname} inet static address ${ifaddress} netmask ${ifnetmask} +EOF + +if [ -n "${ifgateway}" ] +then + +cat >> "${IFFILE}" << EOF gateway ${ifgateway} EOF +fi + done else if [ -z "${NETBOOT}" ] || [ -n "${DHCP}" ]