diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/live b/scripts/live index 7a0a78e..15d5dc8 100755 --- a/scripts/live +++ b/scripts/live @@ -585,17 +585,17 @@ do_netmount () ipconfig ${DEVICE} | tee /netboot.config - if [ "${NFSROOT}" = "auto" ] - then - NFSROOT=${ROOTSERVER}:${ROOTPATH} - fi - # source relevant ipconfig output OLDHOSTNAME=$HOSTNAME . /tmp/net-${DEVICE}.conf [ -z $HOSTNAME ] && HOSTNAME=$OLDHOSTNAME export HOSTNAME + if [ "${NFSROOT}" = "auto" ] + then + NFSROOT=${ROOTSERVER}:${ROOTPATH} + fi + if [ -n "${FETCH}" ] && do_httpmount then rc=0 |
