# !/bin/sh M_TITLE="Flash" run_module() { remember_last_setting "$MENU_POSITION" } exec_module() { leds beep leds boot system exec $REAL_INIT "$INIT_RUNLEVEL" exit 0 } case "$1" in title) echo "$M_TITLE" ;; run) run_module test "$OFFLINE_CONFIG" != true && exec_module ;; autorun) exec_module "$2" ;; flags) echo "" ;; esac