*** 27,32 **** --- 27,42 ---- fi fi + # deal with isc dhclient too + f="/var/run/dhclient.pid" + if [ -s ${f} ]; then + pid="`cat ${f}`" + kill -0 "${pid}" >/dev/null 2>&1 + if [ $? -eq 0 ]; then + exit 0 + fi + fi + if checkyesno background_dhclient; then rc_flags="${rc_flags} -b" fi