summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/24preseed5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/live-bottom/24preseed b/scripts/live-bottom/24preseed
index fb980bd..68f97b9 100755
--- a/scripts/live-bottom/24preseed
+++ b/scripts/live-bottom/24preseed
@@ -58,7 +58,10 @@ fi
if db_get preseed/early_command && [ "$RET" ]
then
- start_network
+ if db_get preseed/allow-network && [ "$RET" = true ]; then
+ start_network
+ fi
+
DEBIAN_HAS_FRONTEND= DEBCONF_REDIR= \
DEBIAN_FRONTEND=noninteractive \
sh -c "$RET"