summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/10-noGui
diff options
context:
space:
mode:
Diffstat (limited to 'packages/altboot/files/altboot-menu/10-noGui')
-rw-r--r--packages/altboot/files/altboot-menu/10-noGui2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/altboot/files/altboot-menu/10-noGui b/packages/altboot/files/altboot-menu/10-noGui
index 57141d498d..cf3c10c381 100644
--- a/packages/altboot/files/altboot-menu/10-noGui
+++ b/packages/altboot/files/altboot-menu/10-noGui
@@ -1,6 +1,8 @@
# !/bin/sh
M_TITLE="Don't launch GUI"
+test "$DISABLE_NOGUI_BOOT" = yes && exit 0
+
run_module() {
clear ; exec $REAL_INIT "$NO_GUI_RL"