diff options
| author | Steven Shiau <steven@nchc.org.tw> | 2010-05-02 15:51:10 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:09 +0100 |
| commit | 38365c3a0a6be4aea3d497974fc3b0a7c0ed73e6 (patch) | |
| tree | 829928b81c137dae2c4b7f8af3ba5abca08f5d4d /scripts/live | |
| parent | 5c1ee9f9c3a9c3ae4636533ca72f05649ad4b178 (diff) | |
| download | live-boot-38365c3a0a6be4aea3d497974fc3b0a7c0ed73e6.tar.gz live-boot-38365c3a0a6be4aea3d497974fc3b0a7c0ed73e6.zip | |
No timeout as running ipconfig for network booting.
Diffstat (limited to 'scripts/live')
| -rwxr-xr-x | scripts/live | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
