Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2000 00:25:17 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        freebsd-stable@freebsd.org
Subject:   CTRL-ALT-DELETE to halt
Message-ID:  <395051BD.BCAA2C0F@math.missouri.edu>

next in thread | raw e-mail | index | archive | help
I would like to make my FreeBSD stable system so that
control-alt-delete halts the computer rather than rebooting
it.

I had a quick look over the source code of the kernel, and
I don't see this as a built in option.  I really have no idea
what I am doing, but suppose I was to change
/sys/dev/syscons/syscons.c so that the lines (about line 3103)

#ifndef SC_DISABLE_REBOOT
		shutdown_nice();
#endif

were instead

#ifndef SC_DISABLE_REBOOT
		boot(RB_HALT);
#endif

Would that work, or am I missing something?

Stephen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?395051BD.BCAA2C0F>