summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/dhclient4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.d/dhclient b/etc/rc.d/dhclient
index 890aeaf..c7e4b4d 100755
--- a/etc/rc.d/dhclient
+++ b/etc/rc.d/dhclient
@@ -26,6 +26,10 @@ dhclient_start()
if [ -n "$pids" ]; then
exit 0
fi
+ elif [ -e /var/run/dhclient.pid ]; then
+ if [ -n "`pgrep -F /var/run/dhclient.pid`" ]; then
+ exit 0
+ fi
fi
fi
OpenPOWER on IntegriCloud