From nobody Fri Jul 04 06:50:02 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bYPQd1wh0z60xZH; Fri, 04 Jul 2025 06:50:17 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bYPQc5hwLz3gcd; Fri, 04 Jul 2025 06:50:16 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id CF479A64805; Fri, 04 Jul 2025 06:50:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1751611800; bh=imX0AWt2/Bb8VZJvMKLZGSJcWvRo6pYclVK55g+j3dQ=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=l4hMt9kiZQkG42ZY5AMP4M7ej1mqoWvSqSCakbNWNTWQ4jsCI38gnmQd2YbE2nnfX twy58AOmLZRFiJ/jcughGwt8NEjOvOizldTtHrAzTHOC3ciYxGXaxAypzI/xANlxAG iK3OKt2FEUWnthPbFwcAWY4SIzmKtMI9bZPUjRQG3n3Gd+G3KPmokdNPmeP1aBXtYE LwPQ9pSPsjsaHyf9YhaPNT9UW7gH6E0clRaOi/ryCyiQLdL4EbtXpl47+Tnru9HWBl CH3nmySh1sE/uHM+GdYrZxDjouLY220LaKnrVG3LVbkrmYaeRy7zJ55StLcfYf6n1l ukOYE9OPYZgtZ4h2AcQpKFTPMP4THCsk3UvGYUXUI/6KwJ1MpJXRVYOyKBdCya60nE OUE5y8dFhQSbBKYj2ES1crD0cjBffxtzP3iSfLOi+4oyPIrxvAMpuCwglrhMBv6I9O 9Auu5t/KfGyKB+WJyC/ucPaIkKZ8AeGHqumaT3r+1m+lqEd6Cw90U4/a2uO/h/KvGd eHPodxpE3VSfQbY6cwogkzVo7hHP7ro8CcFt4/aU8mywz0iU+pP27Jr7dazxmfmdaa uSGQyof1VZCd4VSbBkVQ/+a064ppQTQU6nidd8/G56rDGVQLwC6LNMq93pieiu1AJj X/pPvLPYo+WUF+Xd5Qz+VpOs= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id B144D2D029E0; Fri, 4 Jul 2025 06:50:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id Jfe3RINrZcea; Fri, 4 Jul 2025 06:50:02 +0000 (UTC) Received: from strong-rtwn0.sbone.de (strong-rtwn0.sbone.de [IPv6:fde9:577b:c1a9:4902:3e64:cfff:fe55:bc80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 90C102D029D8; Fri, 4 Jul 2025 06:50:02 +0000 (UTC) Date: Fri, 4 Jul 2025 06:50:02 +0000 (UTC) From: "Bjoern A. Zeeb" To: Tom Jones cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: d72c74a6c52c - main - loader: Add halt as an alias to poweroff machine In-Reply-To: <202507040647.5646lMbN055851@gitrepo.freebsd.org> Message-ID: <33914q1n-2s92-q345-7r4r-r276ooo9r7s5@yvfgf.mnoonqbm.arg> References: <202507040647.5646lMbN055851@gitrepo.freebsd.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4bYPQc5hwLz3gcd X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE] On Fri, 4 Jul 2025, Tom Jones wrote: > The branch main has been updated by thj: > > URL: https://cgit.FreeBSD.org/src/commit/?id=d72c74a6c52cd382c5aaf8f28b5f94e102140a6d > > commit d72c74a6c52cd382c5aaf8f28b5f94e102140a6d > Author: Tom Jones > AuthorDate: 2025-07-04 06:37:19 +0000 > Commit: Tom Jones > CommitDate: 2025-07-04 06:37:31 +0000 > > loader: Add halt as an alias to poweroff machine > > Add halt as an alias to also poweroff a machine from the loader prompt, > this is consistent with ddb. Would it make sense to add an alias 'reset' for 'reboot' as well? I think ddb is the only one using reset, everything else uses reboot (kind-of makes sense but still is confusing). > Reviewed by: imp > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D51132 > --- > stand/efi/loader/main.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c > index 70cdfb2e9328..3ef418d20df3 100644 > --- a/stand/efi/loader/main.c > +++ b/stand/efi/loader/main.c > @@ -1547,6 +1547,7 @@ command_seed_entropy(int argc, char *argv[]) > } > > COMMAND_SET(poweroff, "poweroff", "power off the system", command_poweroff); > +COMMAND_SET(halt, "halt", "power off the system", command_poweroff); > > static int > command_poweroff(int argc __unused, char *argv[] __unused) > -- Bjoern A. Zeeb r15:7