diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/dhclient | 4 |
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 |