4 # REQUIRE: mountcritlocal
5 # KEYWORD: nojail nostart
11 load_rc_config
${name}
16 [ -x "${dhcp_client}" ] && {
17 echo -n "${dhcp_client}"
21 for dir
in /etc
/rc.d
${local_startup}; do
22 [ -x "${dir}/${dhcp_client}" ] && {
23 echo -n "${dir}/${dhcp_client}"
29 command=$
(find_client
)
30 debug
"found client program: ${command}"
31 if [ -n "${command}" ]; then
34 echo "ERROR: cannot find the command to start DHCP client."