summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichal Suchanek <hramrach@centrum.cz>2010-06-08 15:05:07 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:53:26 +0100
commit8989cfb1ddb6c53e57fbaf92a4ac1d11f8083fa7 (patch)
treeb597d16e442c3d52a8e6b81e1d47501afb71770c /scripts
parent47f7432ee17090e441591148833a73baa4f0bdad (diff)
downloadlive-boot-8989cfb1ddb6c53e57fbaf92a4ac1d11f8083fa7.tar.gz
live-boot-8989cfb1ddb6c53e57fbaf92a4ac1d11f8083fa7.zip
Really set NETBOOT with iSCSI.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live
index 2e40b45..6f04b86 100755
--- a/scripts/live
+++ b/scripts/live
@@ -757,6 +757,8 @@ do_iscsi()
do
if check_dev "null" "/dev/$dev"
then
+ NETBOOT="iscsi"
+ export NETBOOT
return 0;
fi
done
@@ -764,8 +766,6 @@ do_iscsi()
else
panic "Failed to locate iSCSI host in /sys"
fi
- NETBOOT="iscsi"
- export NETBOOT
}
do_httpmount ()