diff options
author | Matt Wilson <msw@redhat.com> | 2000-06-18 22:23:10 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-06-18 22:23:10 +0000 |
commit | e4bfcea97e17b8ad2d31bc32ad80c6366dc5ca2e (patch) | |
tree | 825d2b7e357e5e77d5fbd7f4f197c0269490bdb1 /loader/init.c | |
parent | 0c4068f5a452e74319863c7a2ddb5b1bad802d6a (diff) | |
download | anaconda-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.c | 14 |
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); |