From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 535A7138CBE for ; Sat, 21 Mar 2015 22:53:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41643E09AF; Sat, 21 Mar 2015 22:53:23 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 26926E0921 for ; Sat, 21 Mar 2015 22:53:22 +0000 (UTC) Received: by oigv203 with SMTP id v203so116224922oig.3 for ; Sat, 21 Mar 2015 15:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=9mZPg9i0/d/FlydG6Szxsv1I9RxmE2PVoIErVCArsGo=; b=SNVPq4MTuQCiqtX6DxTJEfkAwvvfg/2lxMe6ERLr+1i7KHshyfwQZ0EYVaOePG5i8i DZSWmW9RBqz/CAuZuXrqmB/OY2RwFm52IlFEq40Ax9cRBjxQ0vVA0EmRe1qtEdK8lD0Y OU8OR5PUIeXHOZU7UuBC/3EIPHBUl4y/9QmJ2O+OnbGjnenJ+GoeDX00/NF7Owuf4JsN EClxLQImkkbVb5iFAREoVO10zeIUM7hDSC2CYZz9gGhkehi2Ykx3arainylJLkMUpckr Su1JP0kJZFE/IJvW1O6MKTQHOvrbpxCX4ylqsthmHV46kE55Kg1pwrodPfnF2Zh9LYJI WNwg== X-Received: by 10.60.46.66 with SMTP id t2mr33807534oem.60.1426978396545; Sat, 21 Mar 2015 15:53:16 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.76.79.3 with HTTP; Sat, 21 Mar 2015 15:52:45 -0700 (PDT) In-Reply-To: <6052029.bPKb1UvxrT@navi> References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> <6052029.bPKb1UvxrT@navi> From: Emanuele Rusconi Date: Sat, 21 Mar 2015 23:52:45 +0100 Message-ID: Subject: Re: [gentoo-user] How to poweroff the system from user? To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=089e01493cbc6daa0b0511d44c41 X-Archives-Salt: dc305647-58a8-4b99-b8f3-30197af48dd9 X-Archives-Hash: 3055dd8895f8296a3ecd5c23078b5927 --089e01493cbc6daa0b0511d44c41 Content-Type: text/plain; charset=UTF-8 Ctrl-Alt-Del can be set to do what you want. I have this in my /etc/inittab: ca:12345:ctrlaltdel:/sbin/shutdown -P now This way Ctrl-Alt-Del calls power off instead of reboot. So to shutdown I just exit from Openbox and press Ctrl-Alt-Del. -- Emanuele Rusconi --089e01493cbc6daa0b0511d44c41 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ctrl-Alt-Del can be set to do what you want.
=
I have this in my /etc/inittab:

=C2=A0=C2=A0=C2=A0 ca:12345:ctrl= altdel:/sbin/shutdown -P now

This way Ctrl-Alt-Del calls power= off instead of reboot.
So to shutdown I just exit from Openbox an= d press Ctrl-Alt-Del.

-- Emanuele Rusconi
=
--089e01493cbc6daa0b0511d44c41--