summaryrefslogtreecommitdiffstats
path: root/loader/init.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-18 22:23:10 +0000
committerMatt Wilson <msw@redhat.com>2000-06-18 22:23:10 +0000
commite4bfcea97e17b8ad2d31bc32ad80c6366dc5ca2e (patch)
tree825d2b7e357e5e77d5fbd7f4f197c0269490bdb1 /loader/init.c
parent0c4068f5a452e74319863c7a2ddb5b1bad802d6a (diff)
downloadanaconda-e4bfcea97e17b8ad2d31bc32ad80c6366dc5ca2e.tar.gz
anaconda-e4bfcea97e17b8ad2d31bc32ad80c6366dc5ca2e.tar.xz
anaconda-e4bfcea97e17b8ad2d31bc32ad80c6366dc5ca2e.zip
halt system on alpha
Diffstat (limited to 'loader/init.c')
-rw-r--r--loader/init.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/loader/init.c b/loader/init.c
index 8e9da3b66..5c4d5d892 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -687,11 +687,15 @@ int main(int argc, char **argv) {
printf("rebooting system\n");
sleep(2);
- #if USE_MINILIBC
- reboot(0xfee1dead, 672274793, 0x1234567);
- #else
- reboot(RB_AUTOBOOT);
- #endif
+#if USE_MINILIBC
+ reboot(0xfee1dead, 672274793, 0x1234567);
+#else
+# ifdef __alpha__
+ reboot(RB_HALT_SYSTEM);
+# else
+ reboot(RB_AUTOBOOT);
+# endif
+#endif
} else {
printf("you may safely reboot your system\n");
while (1);