summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/init.c2
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");