diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-02-13 14:32:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-02-13 14:32:35 +0000 |
commit | 4196f3dbb0ce947a7a064b7e51ce86929798e807 (patch) | |
tree | ed34b60c3f577afc0f0163af648eff1e0e3d1360 | |
parent | f326b8676a368b6df65e6b1f8a763a4b98b0693a (diff) | |
download | drakx-backup-do-not-use-4196f3dbb0ce947a7a064b7e51ce86929798e807.tar drakx-backup-do-not-use-4196f3dbb0ce947a7a064b7e51ce86929798e807.tar.gz drakx-backup-do-not-use-4196f3dbb0ce947a7a064b7e51ce86929798e807.tar.bz2 drakx-backup-do-not-use-4196f3dbb0ce947a7a064b7e51ce86929798e807.tar.xz drakx-backup-do-not-use-4196f3dbb0ce947a7a064b7e51ce86929798e807.zip |
sleep 10 only when debugging
-rw-r--r-- | mdk-stage1/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 0addceb41..ca2ce2c81 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -568,8 +568,10 @@ int main(int argc, char **argv) if (!abnormal_termination) { if (reboot_magic == BMAGIC_REBOOT) { +#ifdef DEBUG printf("automatic reboot in 10 seconds\n"); sleep(10); +#endif reboot(0xfee1dead, 672274793, reboot_magic); } else { printf("you may safely poweroff your computer now\n"); |