From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A0EB9139694 for ; Mon, 5 Jun 2017 17:18:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9291321C087; Mon, 5 Jun 2017 17:18:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 729C621C087 for ; Mon, 5 Jun 2017 17:18:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B851D34195D for ; Mon, 5 Jun 2017 17:18:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EE757468 for ; Mon, 5 Jun 2017 17:18:15 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1496681570.1801561c2d36c330df7fd02c7508f503a61ff5ba.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/bootmisc.in X-VCS-Directories: init.d/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1801561c2d36c330df7fd02c7508f503a61ff5ba X-VCS-Branch: master Date: Mon, 5 Jun 2017 17:18:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4c38817f-9450-40d1-b1e7-bf6c2b9da539 X-Archives-Hash: 50985176736ca7b81557ae89e96a13da commit: 1801561c2d36c330df7fd02c7508f503a61ff5ba Author: William Hubbs gmail com> AuthorDate: Fri Jun 2 23:21:53 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Jun 5 16:52:50 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1801561c init.d/bootmisc: use openrc-shutdown instead of halt to write halt record This fixes #139 and fixes #128. and fixes #124. init.d/bootmisc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index 40d3c933..bf79f03d 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -241,7 +241,7 @@ stop() { # Write a halt record if we're shutting down if [ "$RC_RUNLEVEL" = shutdown ]; then - [ "$RC_UNAME" = Linux ] && halt -w + [ "$RC_UNAME" = Linux ] && openrc-shutdown -w if [ "$RC_SYS" = OPENVZ ]; then yesno $RC_REBOOT && printf "" >/reboot fi