Add very limited support for the isc-dhclient. It will almostly certaintly

only work if there's just one interface doing dhcp.  This version implements
the same logic as the version in the PR, but uses pgrep to be less verbose.

PR:		conf/95905
MFC after:	1 week
This commit is contained in:
Brooks Davis 2008-04-15 23:03:35 +00:00
parent 8ca3089abc
commit 688e303c19

View file

@ -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