diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 32dd8ff26035..f82addf7b476 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -95,7 +95,7 @@ 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="NO" # Start dhcp client in the background. -syncronous_dhclient="YES" # Start dhclient directly on configured +synchronous_dhclient="YES" # Start dhclient directly on configured # interfaces during startup. firewall_enable="NO" # Set to YES to enable firewall functionality firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall diff --git a/etc/network.subr b/etc/network.subr index a9b1ddddcf6f..5df0de54b561 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -233,7 +233,7 @@ syncdhcpif() ;; esac done - if checkyesno syncronous_dhclient; then + if checkyesno synchronous_dhclient; then return 0 else return 1 diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 587247588606..cc404a6daac3 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -364,13 +364,13 @@ to start the DHCP client in background. This can cause trouble with applications depending on a working network, but it will provide a faster startup in many cases. -.It Va syncronous_dhclient +.It Va synchronous_dhclient .Pq Bt bool Set to .Dq Li NO to start .Xr dhclient 8 -only in response to interface events and not syncronously at startup. +only in response to interface events and not synchronously at startup. This behavior can be overridden on a per-interface basis by replacing the .Dq Li DHCP