summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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 ()