projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85277dd
)
Applied patch from Frederic Boiteux <fboiteux@calistel.com> about NFSROOT=auto, ...
author
Daniel Baumann
<daniel@debian.org>
Sun, 23 Sep 2007 13:11:42 +0000
(15:11 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Sun, 23 Sep 2007 13:11:42 +0000
(15:11 +0200)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
7a0a78e
..
15d5dc8
100755
(executable)
--- 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