Skip to content

Commit

Permalink
No timeout as running ipconfig for network booting.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenshiau authored and daniel-baumann committed May 2, 2010
1 parent c786c99 commit 02bfe70
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/live
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 02bfe70

Please sign in to comment.