summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/15-bootSD
diff options
context:
space:
mode:
Diffstat (limited to 'packages/altboot/files/altboot-menu/15-bootSD')
-rw-r--r--packages/altboot/files/altboot-menu/15-bootSD2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/altboot/files/altboot-menu/15-bootSD b/packages/altboot/files/altboot-menu/15-bootSD
index 0476a5ce0f..3cf49deea5 100644
--- a/packages/altboot/files/altboot-menu/15-bootSD
+++ b/packages/altboot/files/altboot-menu/15-bootSD
@@ -7,6 +7,8 @@
M_TITLE="Boot SD card"
+test "$DISABLE_SD_BOOT" = yes && exit 0
+
# This function is activated by init.altboot by calling this script with the "run" option
run_module() {