From 38365c3a0a6be4aea3d497974fc3b0a7c0ed73e6 Mon Sep 17 00:00:00 2001 From: Steven Shiau Date: Sun, 2 May 2010 15:51:10 +0200 Subject: No timeout as running ipconfig for network booting. --- scripts/live | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts') diff --git a/scripts/live b/scripts/live index 3ef4ef0..6f4f5c1 100755 --- a/scripts/live +++ b/scripts/live @@ -780,6 +780,10 @@ do_netmount () udevadm trigger udevadm settle + if [ -z "${NETBOOT}" ] && [ -z "${FETCH}" ] && \ + [ -z "${HTTPFS}" ] && [ -z "${FTPFS}" ] + then + # if ethdevice was not specified on the kernel command line # make sure we try to get a working network configuration # for *every* present network device (except for loopback of course) @@ -823,6 +827,10 @@ do_netmount () fi done + else + ipconfig ${DEVICE} | tee /netboot.config + fi + # source relevant ipconfig output OLDHOSTNAME=${HOSTNAME} . /tmp/net-${DEVICE}.conf -- cgit v1.2.3