summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-22 16:40:40 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-22 16:40:40 +0000
commit987ef842df82c75a8edc2e6a08cec5cd59db8c53 (patch)
treeb5724a2b5384c484ae136e6c04658a4f7960b105 /mdk-stage1
parent822dfc7f8fd90d7131f4045c1df5f6ac37260ee9 (diff)
downloaddrakx-987ef842df82c75a8edc2e6a08cec5cd59db8c53.tar
drakx-987ef842df82c75a8edc2e6a08cec5cd59db8c53.tar.gz
drakx-987ef842df82c75a8edc2e6a08cec5cd59db8c53.tar.bz2
drakx-987ef842df82c75a8edc2e6a08cec5cd59db8c53.tar.xz
drakx-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.c2
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);