diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-22 16:40:40 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-22 16:40:40 +0000 |
commit | 987ef842df82c75a8edc2e6a08cec5cd59db8c53 (patch) | |
tree | b5724a2b5384c484ae136e6c04658a4f7960b105 /mdk-stage1 | |
parent | 822dfc7f8fd90d7131f4045c1df5f6ac37260ee9 (diff) | |
download | drakx-backup-do-not-use-987ef842df82c75a8edc2e6a08cec5cd59db8c53.tar drakx-backup-do-not-use-987ef842df82c75a8edc2e6a08cec5cd59db8c53.tar.gz drakx-backup-do-not-use-987ef842df82c75a8edc2e6a08cec5cd59db8c53.tar.bz2 drakx-backup-do-not-use-987ef842df82c75a8edc2e6a08cec5cd59db8c53.tar.xz drakx-backup-do-not-use-987ef842df82c75a8edc2e6a08cec5cd59db8c53.zip |
don't disallow ctrl-alt-del in drakx mode (we don't have sysreqs)
Diffstat (limited to 'mdk-stage1')
-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 6428ee861..0addceb41 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -466,8 +466,10 @@ int main(int argc, char **argv) signal(SIGINT, SIG_IGN); signal(SIGTSTP, SIG_IGN); +#ifdef MANDRAKE_MOVE /* disallow Ctrl Alt Del to reboot */ reboot(0xfee1dead, 672274793, BMAGIC_SOFT); +#endif if (!testing) { fd = open("/dev/console", O_RDWR, 0); |