X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fncurses%2Fnc-config-help.c;h=22ced3c3d2b85107416383e65b23fbf08c7fbca2;hp=90565b20118c1c85838274238ebaa9b1b9c53c8e;hb=acc5ace6e58db2f3dceb1f7a27d0fc1fb29c4a27;hpb=c6dad307d1c305015066e179d392fae695b8cf08 diff --git a/ui/ncurses/nc-config-help.c b/ui/ncurses/nc-config-help.c index 90565b2..22ced3c 100644 --- a/ui/ncurses/nc-config-help.c +++ b/ui/ncurses/nc-config-help.c @@ -1,11 +1,30 @@ -const char *config_help_text = "\ -Autoboot: If you select this option, Petitboot will automatically choose the \ -default option shown in the main menu. Use this option if you want to quickly \ -boot your system without changing any boot option settings.\n" +#include "nc-helpscreen.h" + +struct help_text config_help_text = define_help_text("\ +Autoboot: Specify which devices to autoboot from.\n" +"\n" +"By selecting the 'Add Device' button new devices can be added to the autoboot \ +list, either by UUID, MAC address, or device type. Once added to the boot \ +order, the priority of devices can be changed with the 'left' and 'right' keys \ +Devices can be individually removed from the boot order with the minus key. \ +Use this option if you have multiple operating system images installed.\n" +"\n" +"To autoboot from any device, select the 'Clear & Boot Any' button. \ +In this case, any boot option that is marked as a default \ +(by bootloader configuration) will be booted automatically after a \ +timeout. Use this option if you want to quickly boot your system without \ +changing any boot option settings. This is the typical configuration.\n" +"\n" +"To disable autoboot, select the 'Clear' button, which will clear the boot \ +order. \ +With autoboot disabled, user interaction will be required to continue past \ +the petitboot menu. Use this option if you want the machine to wait for an \ +explicit boot selection, or want to interact with petitboot before booting \ +the system\n" "\n" "Timeout: Specify the length of time, in seconds, that the main menu will be \ -displayed before the first option on the main menu is started by default. \ -Timeout is applied only if the Autoboot option is selected.\n" +displayed before the default boot option is started. This option is only \ +displayed if autoboot is enabled.\n" "\n" "Network options:\n" "\n" @@ -21,5 +40,4 @@ only want to configure a single interface during boot.\n" "Static IP configuration: Allows you to specify an IPv4 address and network \ mask, gateway, and a DNS server or servers for a network interface. Select \ this option if you do not have a DHCP server, or want explicit control of \ -network settings." -; +network settings.");