commit: bd8ff4aa89e1d56e9886dad32bb2406c8f43c747 Author: kmartin36 <Kevin.Martin <AT> gtri <DOT> gatech <DOT> edu> AuthorDate: Sat Dec 17 08:26:21 2022 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> 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 <kevinmbecause <AT> gmail.com> (cherry picked from commit 0e1c19959a6d82accdb57fa7a1f5b0036037a001) Signed-off-by: Robin H. Johnson <robbat2 <AT> 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 $?