submenu 'Check plugin json configuration (ventoy.json)' {
    menuentry 'Check global control plugin configuration' {
        set pager=1
        vt_check_plugin_json $iso_path control $iso_path
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
    menuentry 'Check theme plugin configuration' {
        set pager=1
        vt_check_plugin_json $iso_path theme $iso_path
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
    menuentry 'Check auto install plugin configuration' {
        set pager=1
        vt_check_plugin_json $iso_path auto_install $iso_path
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
    menuentry 'Check persistence plugin configuration' {
        set pager=1
        vt_check_plugin_json $iso_path persistence $iso_path
        
        echo -e "\n############### dump persistence ###############"
        vt_dump_persistence
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
    menuentry 'Check menu alias plugin configuration' {
        set pager=1
        vt_check_plugin_json $iso_path menu_alias $iso_path
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
    menuentry 'Return to previous menu [Esc]' VTOY_RET {
        echo 'Return ...'
    }
}

menuentry 'Return to previous menu [Esc]' VTOY_RET {
    echo 'Return ...'
}
