diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-25 15:59:56 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-25 15:59:56 +0000 |
commit | 19f3a34727b328f0175f6068744b577d15cb74fd (patch) | |
tree | 9ec8d292a5ca2f3aac3331a02b493e567d0b354c /mdk-stage1 | |
parent | d179b7a5ba53e49a10b1858865ed2d330055e0af (diff) | |
download | drakx-backup-do-not-use-19f3a34727b328f0175f6068744b577d15cb74fd.tar drakx-backup-do-not-use-19f3a34727b328f0175f6068744b577d15cb74fd.tar.gz drakx-backup-do-not-use-19f3a34727b328f0175f6068744b577d15cb74fd.tar.bz2 drakx-backup-do-not-use-19f3a34727b328f0175f6068744b577d15cb74fd.tar.xz drakx-backup-do-not-use-19f3a34727b328f0175f6068744b577d15cb74fd.zip |
give us more chance to get bootloader write actually commited to
disk before reboot
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/rescue-gui.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c index dbe12cb4a..f75ec76b2 100644 --- a/mdk-stage1/rescue-gui.c +++ b/mdk-stage1/rescue-gui.c @@ -192,7 +192,10 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)) } if (ptr_begins_static_str(choice, reboot_)) { finish_frontend(); + sync(); sync(); + sleep(2); unmount_filesystems(); + sync(); sync(); printf("rebooting system\n"); sleep(2); reboot(0xfee1dead, 672274793, 0x01234567); |