Skip to content

Commit

Permalink
Applied patch from Frederic Boiteux <fboiteux@calistel.com> about NFS…
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Sep 23, 2007
1 parent 85277dd commit 2ad8dc2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/live
Expand Up @@ -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
Expand Down

0 comments on commit 2ad8dc2

Please sign in to comment.