X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=6f4f5c196802e3031338f12423fba9368b6fa6f2;hb=02bfe70cc41247a681b473f6902abe7eabc54cf2;hp=3ef4ef04c6dd0b57368ccb86a05caafc7d78921b;hpb=c786c99d374d4da66e8211175187f2d477336556;p=live-boot-grml.git 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