summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-09 15:45:13 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-09 15:45:13 +0000
commitc3b8a46d3ab0195af33b00cafefcc06bae1d6115 (patch)
tree7ae137f552cab1ccc359e98aafc94782a307eb50 /mdk-stage1
parent1c413f1de7cc1732452a646376c0090c33502e4e (diff)
downloaddrakx-c3b8a46d3ab0195af33b00cafefcc06bae1d6115.tar
drakx-c3b8a46d3ab0195af33b00cafefcc06bae1d6115.tar.gz
drakx-c3b8a46d3ab0195af33b00cafefcc06bae1d6115.tar.bz2
drakx-c3b8a46d3ab0195af33b00cafefcc06bae1d6115.tar.xz
drakx-c3b8a46d3ab0195af33b00cafefcc06bae1d6115.zip
repeat after me, "kernel is da shit"
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index 30385476b..6428ee861 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -568,11 +568,10 @@ int main(int argc, char **argv)
if (reboot_magic == BMAGIC_REBOOT) {
printf("automatic reboot in 10 seconds\n");
sleep(10);
+ reboot(0xfee1dead, 672274793, reboot_magic);
} else {
- printf("automatic poweroff in 15 seconds\n");
- sleep(15);
+ printf("you may safely poweroff your computer now\n");
}
- reboot(0xfee1dead, 672274793, reboot_magic);
} else {
printf("you may safely reboot or halt your system\n");
}