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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23E62158451 for ; Sun, 7 Jan 2024 09:42:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E0B92BC027; Sun, 7 Jan 2024 09:42:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53B552BC027 for ; Sun, 7 Jan 2024 09:42:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A327343297 for ; Sun, 7 Jan 2024 09:42:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D231979 for ; Sun, 7 Jan 2024 09:42:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1704620553.6b54da4cc0b85aaed4e4546bbb0893476fb6835c.sam@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: init.d/ X-VCS-Repository: proj/netifrc X-VCS-Files: init.d/net.lo.in X-VCS-Directories: init.d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6b54da4cc0b85aaed4e4546bbb0893476fb6835c X-VCS-Branch: master Date: Sun, 7 Jan 2024 09:42:41 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e4390b11-2e2c-49fc-ad49-4b701ed727ad X-Archives-Hash: db8502d6d0248260bdeaa713ec4cf44f commit: 6b54da4cc0b85aaed4e4546bbb0893476fb6835c Author: Matoro Mahri matoro tk> AuthorDate: Wed Jan 3 15:37:03 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 7 09:42:33 2024 +0000 URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=6b54da4c net.lo.in: replace "type" bashism with "command" Closes: https://bugs.gentoo.org/844178 Signed-off-by: Matoro Mahri matoro.tk> Closes: https://github.com/gentoo/netifrc/pull/50 Signed-off-by: Sam James gentoo.org> init.d/net.lo.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/net.lo.in b/init.d/net.lo.in index 0bb69f3..afba99f 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -902,7 +902,7 @@ stop() yesno ${module} && _down 2>/dev/null fi - type resolvconf >/dev/null 2>&1 && resolvconf -d "${IFACE}" 2>/dev/null + command -v resolvconf >/dev/null && resolvconf -d "${IFACE}" 2>/dev/null if [ "$(command -v "postdown")" = "postdown" ]; then ebegin "Running postdown"