From nobody Fri Jul 4 06:47:22 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 4bYPMG4WZvz60xK1; Fri, 04 Jul 2025 06:47:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bYPMG2m8Sz3fWw; Fri, 04 Jul 2025 06:47:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751611642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rBKH4L22H0V/UjkN9aUlWzOFvlD8DmhRXRdkraftu0I=; b=bfobooYhJdONVe93DPSqhBqIFxKpZCAYgvFbgs5AZJuIFAGpuMxNr1iCIPtJyLKpE1LwjW +lOvPGmGQ9ZHsfaWI1vXpY+VQdEYs3CiaQbcZkL5pYm8wyChVhfbJZ3b7HH9atQ25CDisA apQBhOmX/1pzK+FokvIQgezzJFYRFjE5YotsyxHciZu1IUwTAKZ01fe6KAbSKavdUUBcLf ZTgZGLYZJxrgOk/pr8/ym3BqoBTOsr7fe2MvbEx2cN3Ep6Hu/DctNFtpw5+kAgB07JVgLz epoD9VSavJ4bdU9CczElO5py/pFg9ufSK9zRTv0HKKPzCbBi6keAuncGB+qj1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751611642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rBKH4L22H0V/UjkN9aUlWzOFvlD8DmhRXRdkraftu0I=; b=PvDaX4GYcmNqJO3tLpOL1TZfyxVd8ep13Z6F4h/2dXr2wA0zupK/Q44z/YECRBA0T4sYmt /Wd0d3i8uktUNthyzuVmKPQzCO25rwufG+nG4qA1jHL6bniqpESdMpPRnat503But2mv8U zgavLWpRP+ZBli0s1LK1HQrKBa1GKbxKqGiVwg9yEwH5JD7onzEYxJrgRy+fSkNcUcdPO1 NHXKrGFmK2gM5bMnm5J9K6rPNDij0czQb4jYR3g45LFlTk9IlscsqlKsQnbcPT90/qiMqI gG7PCZr2uEEvZopq/LEdHNPzPz0/HknGOPsOIC64wodixZUOYrik6o65fqgHDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751611642; a=rsa-sha256; cv=none; b=YkV9e3EbgQMyoytVoZta7tc5tFWYuYfPbVOPS7zo0cbWDHWwSjW4MxVLKRef4KK4iPPVwW we2kmw0J1mSn7gj/BqYH0GlavfEFFv1YmKzk1RCjXRHnt5pe7XVJVLNDA+gK1H3IER6q0I UW8oU7ZpEvoRbf2JNKdpNFPbZ01yhjEu4dTMDsHHHF4Otm+E8sh89NxPU9OsV36OmHkpGw zwItqgtx+ZtpEqc/0Z8CAELFN2mcj7bmc/FFrvXYaMGVHXeS0mQEmiEkoPhagH/cXo1xTC RTXtTDM0YuVkuwfWI+AmTxApA/uVxZCCgMBQeKiRqzuDThWE+Qjn+dWjWQYIdA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bYPMG2C8JzgDW; Fri, 04 Jul 2025 06:47:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5646lMhO055854; Fri, 4 Jul 2025 06:47:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5646lMbN055851; Fri, 4 Jul 2025 06:47:22 GMT (envelope-from git) Date: Fri, 4 Jul 2025 06:47:22 GMT Message-Id: <202507040647.5646lMbN055851@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Tom Jones Subject: git: d72c74a6c52c - main - loader: Add halt as an alias to poweroff machine 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=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d72c74a6c52cd382c5aaf8f28b5f94e102140a6d Auto-Submitted: auto-generated 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. 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)