2 submenu "$VTLANG_MENU_LANG" --class=debug_menu_lang --class=F5tool {
3 source $prefix/menulang.cfg
5 source $prefix/power.cfg
6 source $prefix/hwinfo.cfg
7 source $prefix/keyboard.cfg
9 submenu "$VTLANG_RESOLUTION_CFG" --class=debug_resolution --class=F5tool {
10 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
14 vt_update_cur_video_mode VT_CUR_MODE
16 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
17 vt_get_video_mode $vdid vtCurMode
20 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
24 menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
25 terminal_output console
27 terminal_output gfxterm
28 if [ "$vtoy_res_fit" = "1" ]; then
37 submenu "$VTLANG_SCREEN_MODE" --class=debug_screen_mode --class=F5tool {
38 menuentry "$VTLANG_SCREEN_TEXT_MODE" --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
39 terminal_output console
41 menuentry "$VTLANG_SCREEN_GUI_MODE" --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
42 terminal_output gfxterm
44 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
49 if [ -n "$VTOY_THEME_COUNT" -a $VTOY_THEME_COUNT -gt 1 ]; then
50 submenu "$VTLANG_THEME_SELECT" --class=debug_theme_select --class=F5tool {
55 if [ "$grub_platform" != "pc" ]; then
56 submenu "$VTLANG_UEFI_UTIL" --class=debug_util --class=F5tool {
57 menuentry "$VTLANG_UTIL_SHOW_EFI_DRV" --class=debug_util_efidrv --class=debug_util --class=F5tool {
59 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers
62 echo -en "\n$VTLANG_ENTER_EXIT ..."
66 menuentry "$VTLANG_UTIL_FIX_BLINIT_FAIL" --class=debug_util_blinit --class=debug_util --class=F5tool {
67 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
69 echo -en "\n$VTLANG_ENTER_EXIT ..."
73 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
80 submenu "$VTLANG_JSON_CHK_JSON" --class=debug_json --class=F5tool {
81 menuentry "$VTLANG_JSON_CHK_CONTROL" --class=debug_control --class=debug_json --class=F5tool {
83 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
85 echo -en "\n$VTLANG_ENTER_EXIT ..."
90 menuentry "$VTLANG_JSON_CHK_THEME" --class=debug_theme --class=debug_json --class=F5tool {
92 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
94 echo -en "\n$VTLANG_ENTER_EXIT ..."
99 menuentry "$VTLANG_JSON_CHK_AUTOINS" --class=debug_autoinstall --class=debug_json --class=F5tool {
101 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
103 echo -en "\n$VTLANG_ENTER_EXIT ..."
108 menuentry "$VTLANG_JSON_CHK_PERSIST" --class=debug_persistence --class=debug_json --class=F5tool {
110 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
112 echo -e "\n############### dump persistence ###############"
115 echo -en "\n$VTLANG_ENTER_EXIT ..."
120 menuentry "$VTLANG_JSON_CHK_MENU_ALIAS" --class=debug_menualias --class=debug_json --class=F5tool {
122 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
124 echo -en "\n$VTLANG_ENTER_EXIT ..."
129 menuentry "$VTLANG_JSON_CHK_MENU_TIP" --class=debug_menutip --class=debug_json --class=F5tool {
131 vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part
133 echo -en "\n$VTLANG_ENTER_EXIT ..."
138 menuentry "$VTLANG_JSON_CHK_MENU_CLASS" --class=debug_menuclass --class=debug_json --class=F5tool {
140 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
142 echo -en "\n$VTLANG_ENTER_EXIT ..."
147 menuentry "$VTLANG_JSON_CHK_INJECTION" --class=debug_injection --class=debug_json --class=F5tool {
149 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
151 echo -en "\n$VTLANG_ENTER_EXIT ..."
156 menuentry "$VTLANG_JSON_CHK_AUTO_MEMDISK" --class=debug_automemdisk --class=debug_json --class=F5tool {
158 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
160 echo -en "\n$VTLANG_ENTER_EXIT ..."
165 menuentry "$VTLANG_JSON_CHK_IMG_LIST" --class=debug_imagelist --class=debug_json --class=F5tool {
167 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
169 echo -en "\n$VTLANG_ENTER_EXIT ..."
174 menuentry "$VTLANG_JSON_CHK_IMG_BLIST" --class=debug_imageblacklist --class=debug_json --class=F5tool {
176 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
178 echo -en "\n$VTLANG_ENTER_EXIT ..."
183 menuentry "$VTLANG_JSON_CHK_CONF_REPLACE" --class=debug_bootconf_replace --class=debug_json --class=F5tool {
185 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
187 echo -en "\n$VTLANG_ENTER_EXIT ..."
192 menuentry "$VTLANG_JSON_CHK_DUD" --class=debug_dud --class=debug_json --class=F5tool {
194 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
196 echo -en "\n$VTLANG_ENTER_EXIT ..."
201 menuentry "$VTLANG_JSON_CHK_PASSWORD" --class=debug_pwd --class=debug_json --class=F5tool {
203 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
205 echo -en "\n$VTLANG_ENTER_EXIT ..."
210 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
216 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {