aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-01-11 00:56:51 -0500
committerMike Gilbert <floppym@gentoo.org>2015-01-15 10:28:58 -0500
commitf86f4c03e6b403614e4613dff5805429740b076e (patch)
treef21cf1c0ee8e5c6aaf9bacec60a7fc591b549cd8
parentsystemd: Unit file improvements (diff)
downloadnetifrc-f86f4c03e6b403614e4613dff5805429740b076e.tar.gz
netifrc-f86f4c03e6b403614e4613dff5805429740b076e.tar.bz2
netifrc-f86f4c03e6b403614e4613dff5805429740b076e.zip
dhcpcd: Avoid calling start-stop-daemon
X-Gentoo-Bug: 536282 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536282
-rw-r--r--net/dhcpcd.sh5
1 files changed, 1 insertions, 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 $?
}