mirror of
https://github.com/ipxe/ipxe
synced 2026-01-24 13:13:42 +03:00
[menu] Allow a post-activity timeout to be defined
Allow the "--retimeout" option to be used to specify a timeout value that will be (re)applied after each keypress activity. This allows script authors to ensure that a single (potentially accidental) keypress will not pause the boot process indefinitely. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -60,7 +60,8 @@ extern struct dynamic_item * dynui_item ( struct dynamic_ui *dynui,
|
||||
extern struct dynamic_item * dynui_shortcut ( struct dynamic_ui *dynui,
|
||||
int key );
|
||||
extern int show_menu ( struct dynamic_ui *dynui, unsigned long timeout,
|
||||
const char *select, struct dynamic_item **selected );
|
||||
unsigned long retimeout, const char *select,
|
||||
struct dynamic_item **selected );
|
||||
extern int show_form ( struct dynamic_ui *dynui );
|
||||
|
||||
#endif /* _IPXE_DYNUI_H */
|
||||
|
||||
Reference in New Issue
Block a user