diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2008-04-15 23:03:35 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2008-04-15 23:03:35 +0000 |
| commit | 688e303c19b4f5710ea896c08c63aaa6085bd035 (patch) | |
| tree | 18ec8c680a10ccc67c9cb0b6d92da1580f373705 /etc | |
| parent | 8ca3089abce83b9b266a3e102016dd1c03c29c1f (diff) | |
Notes
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 890aeaface87c..c7e4b4df45318 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 |
