# !/bin/sh M_TITLE="Don't launch GUI" test "$DISABLE_NOGUI_BOOT" = yes && exit 0 run_module(){ remember_last_setting "$MENU_POSITION" } exec_module() { clear ; exec $REAL_INIT "$NO_GUI_RL" exit 0 } case "$1" in title) echo "$M_TITLE" ;; run) run_module test "$OFFLINE_CONFIG" != true && exec_module ;; autorun) exec_module "$3" ;; flags) echo "" ;; esac