Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2002 18:46:15 +0100 (CET)
From:      Andrew Prewett <andrew@kronos.HomeUnix.com>
To:        questions@FreeBSD.ORG
Subject:   Re: ATX power down
Message-ID:  <20021225182828.F60942@slave.east.ath.cx>
In-Reply-To: <20021225153749.83890.qmail@web14905.mail.yahoo.com>
References:  <20021225153749.83890.qmail@web14905.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Today Paulo Roberto wrote:

> --- "Denis N. Peplin" <info@volginfo.ru> wrote:
> > I don't know why some ATX systems can't. I'm tested "halt -p" on
> > FreeBSD 5.0 and all work fine.
>
> It is strange, since I got Linux also on this machine, and "halt"
> powers down properly, but not on FreeBSD.
>
> > > BTW "PDWN" in the keymap ("the three-finger-salute") would have to
> > > power down the ATX also, right?
> > No, reboot.
>
> Is there a way to start a script when crtl+alt+del is pressed?

/etc/rc.shutdown

> I looked at the keymap, and only found BOOT PDWN and HALT. I would
> need it to power down.

`pdwn' does exactly what you want, see kbdmap(5)
change your keymap (in /usr/share/syscons/keymaps/) as you like
(in the appropriate line `boot' to `pdwn')

	-andrew

>
> And BTW, I got DP-2 and RC-2 on two different machines, and both of
> them keep outputing on the console a *lot* of "calcru" messages. Are
> you guys getting it also?
>
> thanks
>
> Paulo
>

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




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