summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/rescue-gui.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c
index bed0b403c..055c680a3 100644
--- a/mdk-stage1/rescue-gui.c
+++ b/mdk-stage1/rescue-gui.c
@@ -144,8 +144,10 @@ int main(int argc, char **argv)
char mount_parts[] = "Mount your partitions under /mnt";
char go_to_console[] = "Go to console";
char reboot_[] = "Reboot";
+ char doc[] = "Doc: what's addressed by this Rescue?";
- char * actions[] = { install_bootloader, mount_parts, go_to_console, reboot_, NULL };
+
+ char * actions[] = { install_bootloader, mount_parts, go_to_console, reboot_, doc, NULL };
char * choice;
init_frontend("Welcome to " DISTRIB_NAME " Rescue (" VERSION ") " __DATE__ " " __TIME__);
@@ -170,6 +172,9 @@ int main(int argc, char **argv)
sleep(2);
reboot(0xfee1dead, 672274793, 0x01234567);
}
+ if (ptr_begins_static_str(choice, doc)) {
+ binary = "/usr/bin/rescue-doc";
+ }
if (binary) {
int wait_status;