summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-disk.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 1af717a..f9306c0 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -1468,6 +1468,8 @@ while getopts "hek:Lm:o:qrs:v" opt; do
done
shift $(( $OPTIND - 1))
+[ "$DISK_MODE" = "none" ] && exit 0
+
if is_rpi; then
: ${BOOTLOADER:=raspberrypi-bootloader}
BOOTFS=vfat