Always start dhclient in the background.
Reviewed by: mtm
This commit is contained in:
parent
24dd3413f5
commit
0888a8766e
@ -57,6 +57,7 @@ hostname="" # Set this!
|
||||
nisdomainname="NO" # Set to NIS domain if using NIS (or NO).
|
||||
dhclient_program="/sbin/dhclient" # Path to dhcp client program.
|
||||
dhclient_flags="" # Additional flags to pass to dhcp client.
|
||||
background_dhclient="YES" # Start dhcp client in the background.
|
||||
firewall_enable="NO" # Set to YES to enable firewall functionality
|
||||
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
|
||||
firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall)
|
||||
|
@ -59,6 +59,10 @@ dhclient_prestart()
|
||||
ifscript_up ${ifn}
|
||||
done
|
||||
|
||||
if checkyesno background_dhclient; then
|
||||
rc_flags="${rc_flags} -nw"
|
||||
fi
|
||||
|
||||
rc_flags="${rc_flags} ${_cooked_list}"
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user