From owner-freebsd-stable Fri Sep 6 20:58: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE38637B400 for ; Fri, 6 Sep 2002 20:57:59 -0700 (PDT) Received: from grosbein.pp.ru (www2.svzserv.kemerovo.su [213.184.65.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5A7F43E6A for ; Fri, 6 Sep 2002 20:57:56 -0700 (PDT) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (smmsp@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.5/8.12.5) with ESMTP id g873vmsA023318; Sat, 7 Sep 2002 11:57:48 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.5/8.12.5/Submit) id g873tPFS023246; Sat, 7 Sep 2002 11:55:25 +0800 (KRAST) Date: Sat, 7 Sep 2002 11:55:24 +0800 From: Eugene Grosbein To: "Ulrich 'Q' Spoerlein" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Request for alternative CTRL-ATL-DEL behaviour Message-ID: <20020907115524.A23071@grosbein.pp.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from q@uni.de on Fri, Sep 06, 2002 at 10:13:03PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Sep 06, 2002 at 10:13:03PM +0200, Ulrich 'Q' Spoerlein wrote: > I think it would be nice to have a kernel option or sysctl variable which > changes what signal init gets when ctrl-atl-del is pressed. > right now i'm using this patch to have my machines power off instead of > reboot. You need not patch a source. You can just bind Ctrl-Alt-Del (or Ctrl-Alt-End like I did) to power off machine. Try replacing line 099 in your keymap file with this line: 099 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 pdwn fkey57 O Note this 'pdwn', read man 5 kbdmap Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message