aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli.h
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-03 22:41:30 +0100
committerErwan Velu <erwan.velu@free.fr>2009-11-03 22:41:30 +0100
commit35c507ee84ae948f7b51ba3a8d5062178680d88c (patch)
treee8390bea29424a1bab76bf02889ce67fe7526a44 /com32/hdt/hdt-cli.h
parentc9d07318d415f697a873e40f933834ff0e8e949b (diff)
downloadsyslinux-35c507ee84ae948f7b51ba3a8d5062178680d88c.tar.gz
syslinux-35c507ee84ae948f7b51ba3a8d5062178680d88c.tar.xz
syslinux-35c507ee84ae948f7b51ba3a8d5062178680d88c.zip
hdt: Adding automatic mode
Impact: HDT can be controlled via the cmdline When the auto= parameter is set, HDT execute a set of commands and return to the cli after. i.e auto='show summary; show pci' will show the summary then the pci and return to the cli. Note that the auto= feature, requires a the "'" char to define the complete set of commands and the ";" char to separate commands. Some more examples: auto='show syslinux; exit' -> this will show the syslinux release and then exit to return to the bootloader auto='show summary; reboot' -> this will show the summary and then reboot the computer
Diffstat (limited to 'com32/hdt/hdt-cli.h')
-rw-r--r--com32/hdt/hdt-cli.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h
index aa27ac7d..3684fa40 100644
--- a/com32/hdt/hdt-cli.h
+++ b/com32/hdt/hdt-cli.h
@@ -153,6 +153,7 @@ cli_mode_t mode_s_to_mode_t(char *name);
void set_mode(cli_mode_t mode, struct s_hardware *hardware);
void start_cli_mode(struct s_hardware *hardware);
+void start_auto_mode(struct s_hardware *hardware);
void main_show(char *item, struct s_hardware *hardware);
// DMI STUFF