3 #include <gpxe/command.h>
4 #include <gpxe/settings.h>
5 #include <gpxe/settings_ui.h>
9 extern struct nvo_block *ugly_nvo_hack;
12 static int config_exec ( int argc, char **argv ) {
13 struct config_context dummy_context;
17 printf ( "Usage: %s\n"
18 "Opens the option configuration console\n", argv[0] );
22 if ( ! ugly_nvo_hack ) {
23 printf ( "No non-volatile option storage available\n" );
27 dummy_context.options = ugly_nvo_hack->options;
28 if ( ( rc = settings_ui ( &dummy_context ) ) != 0 ) {
29 printf ( "Could not save settings: %s\n",
37 struct command config_command __command = {