commit:     f86f4c03e6b403614e4613dff5805429740b076e
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 11 05:56:51 2015 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 15:28:58 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/netifrc.git;a=commit;h=f86f4c03

dhcpcd: Avoid calling start-stop-daemon

X-Gentoo-Bug: 536282
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536282

---
 net/dhcpcd.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh
index bdb60c6..c598083 100644
--- a/net/dhcpcd.sh
+++ b/net/dhcpcd.sh
@@ -82,10 +82,7 @@ dhcpcd_stop()
        [ -z "${opts}" ] && opts=${dhcp}
        case " ${opts} " in
                *" release "*) dhcpcd -k "${IFACE}" ;;
-               *)
-                       start-stop-daemon --stop --quiet \
-                                --signal ${sig} --pidfile "${pidfile}"
-                       ;;
+               *) dhcpcd -x "${IFACE}" ;;
        esac
        eend $?
 }

Reply via email to