bool system_upgrade = false;
bool firmware_upgrade = false;
bool system_reset = false;
+ bool presentation = false;
const char *mode = NULL;
ply_command_parser_get_command_options (state->command_parser,
"system-upgrade", &system_upgrade,
"firmware-upgrade", &firmware_upgrade,
"system-reset", &system_reset,
+ "presentation", &presentation,
NULL);
if (boot_up)
mode = "firmware-upgrade";
else if (system_reset)
mode = "system-reset";
+ else if (presentation)
+ mode = "presentation";
if (mode) {
ply_boot_client_change_mode (state->client, mode,
PLY_COMMAND_OPTION_TYPE_FLAG,
"system-reset", "Resetting the OS and erasing all user data",
PLY_COMMAND_OPTION_TYPE_FLAG,
+ "presentation", "Display static banner without progress indication",
+ PLY_COMMAND_OPTION_TYPE_FLAG,
NULL);
ply_command_parser_add_command (state.command_parser,