summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/autoconfig')
-rw-r--r--init.d/autoconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/autoconfig b/init.d/autoconfig
index f475813..b30b41b 100644
--- a/init.d/autoconfig
+++ b/init.d/autoconfig
@@ -529,7 +529,7 @@ start() {
if yesno "${DHCP}"
then
einfo "DHCP broadcasting for IP on all detected interfaces ..."
- if [ ! -f /run/dhcpcd.pid ]
+ if [ -f /run/dhcpcd.pid ]
then
kill $(cat /run/dhcpcd.pid)
sleep 2