summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/dhclient6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.d/dhclient b/etc/rc.d/dhclient
index d182214..890aeaf 100755
--- a/etc/rc.d/dhclient
+++ b/etc/rc.d/dhclient
@@ -21,7 +21,11 @@ dhclient_start()
if [ -x /bin/pgrep ]; then
pids=`/bin/pgrep -f "dhclient: $ifn(\$| .*)"`
if [ -n "$pids" ]; then
- exit 0
+ sleep 1
+ pids=`/bin/pgrep -f "dhclient: $ifn(\$| .*)"`
+ if [ -n "$pids" ]; then
+ exit 0
+ fi
fi
fi
OpenPOWER on IntegriCloud