From: Michal Suchanek Date: Tue, 8 Jun 2010 13:05:07 +0000 (+0200) Subject: Really set NETBOOT with iSCSI. X-Git-Tag: debian/2.0.15-1~94 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=8989cfb1ddb6c53e57fbaf92a4ac1d11f8083fa7;p=live-boot-grml.git Really set NETBOOT with iSCSI. --- 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 ()