From c1ba2105e839679460fef5fde9b5de8fc09837c2 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Thu, 13 Apr 2006 18:34:14 +0000 Subject: [PATCH] Spell synchronous with required silent 'h'. Reported by: ru, ceri Pointy hat: brooks --- etc/defaults/rc.conf | 2 +- etc/network.subr | 2 +- share/man/man5/rc.conf.5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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