From owner-freebsd-stable Tue Jun 20 22:25:28 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail.rdc1.il.home.com (ha1.rdc1.il.home.com [24.2.1.66]) by hub.freebsd.org (Postfix) with ESMTP id 92B1737BA67 for ; Tue, 20 Jun 2000 22:25:25 -0700 (PDT) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu ([24.12.197.197]) by mail.rdc1.il.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000621052524.FQPT14460.mail.rdc1.il.home.com@math.missouri.edu> for ; Tue, 20 Jun 2000 22:25:24 -0700 Message-ID: <395051BD.BCAA2C0F@math.missouri.edu> Date: Wed, 21 Jun 2000 00:25:17 -0500 From: Stephen Montgomery-Smith X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: CTRL-ALT-DELETE to halt Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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