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 04AD5158020 for ; Sun, 25 Dec 2022 19:07:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38D7DE07AE; Sun, 25 Dec 2022 19:07:39 +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 1CBE8E07AE for ; Sun, 25 Dec 2022 19:07:39 +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 4FEFE340E5D for ; Sun, 25 Dec 2022 19:07:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DAAAB7E8 for ; Sun, 25 Dec 2022 19:07:36 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1671995196.bd8ff4aa89e1d56e9886dad32bb2406c8f43c747.robbat2@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: net/ X-VCS-Repository: proj/netifrc X-VCS-Files: net/dhcpcd.sh X-VCS-Directories: net/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: bd8ff4aa89e1d56e9886dad32bb2406c8f43c747 X-VCS-Branch: master Date: Sun, 25 Dec 2022 19:07:36 +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: 49b21f9e-7e71-4658-a831-ba9a1b8cee65 X-Archives-Hash: 79287aeee1e4566a57fda4533e9b0769 commit: bd8ff4aa89e1d56e9886dad32bb2406c8f43c747 Author: kmartin36 gtri gatech edu> AuthorDate: Sat Dec 17 08:26:21 2022 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sun Dec 25 19:06:36 2022 +0000 URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=bd8ff4aa Adding the saved args to the stop command Closes: https://bugs.gentoo.org/881039 Signed-off-by: Kevin Martin gmail.com> (cherry picked from commit 0e1c19959a6d82accdb57fa7a1f5b0036037a001) Signed-off-by: Robin H. Johnson gentoo.org> Closes: https://github.com/gentoo/netifrc/pull/41 net/dhcpcd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh index 1e1bbe0..1380944 100644 --- a/net/dhcpcd.sh +++ b/net/dhcpcd.sh @@ -90,8 +90,8 @@ dhcpcd_stop() eval opts=\$dhcp_${IFVAR} [ -z "${opts}" ] && opts=${dhcp} case " ${opts} " in - *" release "*) dhcpcd -k "${IFACE}" ;; - *) dhcpcd -x "${IFACE}" ;; + *" release "*) dhcpcd -k "${args}" "${IFACE}" ;; + *) dhcpcd -x "${args}" "${IFACE}" ;; esac [ -f "${argsfile}" ] && rm -f "${argsfile}" eend $?