X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F23networking;h=9554b77feba241721655ae9c8604148d3a2115a4;hb=07580cc84d811532497c285159c63905bbca3155;hp=8c856c6cc2ab24369278f2e8088abf829c3c3bc4;hpb=046e64d4df9c092f205f70a5eb2d2b121850b043;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}" ]