summaryrefslogtreecommitdiff
path: root/usr.sbin/bsdconfig
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-01 16:38:12 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-01 16:38:12 +0000
commitec65e4f8d0654361df5e97d4de3518edebf76b46 (patch)
tree079764e408cabef3872b3d6bc5111d64e7bd006e /usr.sbin/bsdconfig
parentbeb45c4fd43b92f7d32cc750c5cb39753cc0ee3f (diff)
downloadsrc-test2-ec65e4f8d0654361df5e97d4de3518edebf76b46.tar.gz
src-test2-ec65e4f8d0654361df5e97d4de3518edebf76b46.zip
usr.sbin/bsdconfig: minor spelling fixes on comments.
No functional change.
Notes
Notes: svn path=/head/; revision=298884
Diffstat (limited to 'usr.sbin/bsdconfig')
-rw-r--r--usr.sbin/bsdconfig/share/common.subr4
-rw-r--r--usr.sbin/bsdconfig/share/dialog.subr8
-rw-r--r--usr.sbin/bsdconfig/share/geom.subr2
-rw-r--r--usr.sbin/bsdconfig/share/media/tcpip.subr2
-rw-r--r--usr.sbin/bsdconfig/share/packages/index.subr6
-rw-r--r--usr.sbin/bsdconfig/share/packages/packages.subr4
-rw-r--r--usr.sbin/bsdconfig/startup/share/rcconf.subr8
-rw-r--r--usr.sbin/bsdconfig/startup/share/rcvar.subr8
8 files changed, 21 insertions, 21 deletions
diff --git a/usr.sbin/bsdconfig/share/common.subr b/usr.sbin/bsdconfig/share/common.subr
index 2b911fcec668..49b9186f548f 100644
--- a/usr.sbin/bsdconfig/share/common.subr
+++ b/usr.sbin/bsdconfig/share/common.subr
@@ -167,7 +167,7 @@ f_debug_init()
[ "$debugFile" ] && { [ "${debug+set}" ] || debug=1; }
#
- # Make debugging persistant if set
+ # Make debugging persistent if set
#
[ "$debug" ] && export debug
[ "$debugFile" ] && export debugFile
@@ -175,7 +175,7 @@ f_debug_init()
#
# Truncate debug file unless requested otherwise. Note that we will
# trim a leading plus (`+') from the value of debugFile to support
- # persistant meaning that f_dprintf() should print both to standard
+ # persistent meaning that f_dprintf() should print both to standard
# output and $debugFile (minus the leading plus, of course).
#
local _debug_file="${debugFile#+}"
diff --git a/usr.sbin/bsdconfig/share/dialog.subr b/usr.sbin/bsdconfig/share/dialog.subr
index 1e63aec593f3..17e7b4ac0fc8 100644
--- a/usr.sbin/bsdconfig/share/dialog.subr
+++ b/usr.sbin/bsdconfig/share/dialog.subr
@@ -105,10 +105,10 @@ DIALOG_ESC=255
#
# When manually sizing Xdialog(1) widgets such as calendar and timebox, you'll
# need to know the size of the embedded GUI objects because the height passed
-# to Xdialog(1) for these widgets has to be tall enough to accomodate them.
+# to Xdialog(1) for these widgets has to be tall enough to accommodate them.
#
# These values are helpful when manually sizing with dialog(1) too, but in a
-# different way. dialog(1) does not make you accomodate the custom items in the
+# different way. dialog(1) does not make you accommodate the custom items in the
# height (but does for width) -- a height of 3 will display three lines and a
# full calendar, for example (whereas Xdialog will truncate the calendar if
# given a height of 3). For dialog(1), use these values for making sure that
@@ -703,7 +703,7 @@ f_dialog_buttonbox_size()
# Adjust height if desired
if [ "$__var_height" ]; then
- # Add height to accomodate the buttons
+ # Add height to accommodate the buttons
__height_bbox_size=$(( $__height_bbox_size + 2 ))
# Adjust for clipping with Xdialog(1) on Linux/GTK2
@@ -1382,7 +1382,7 @@ f_dialog_calendar_size()
__height=$( echo "$__prompt" | f_number_of_lines )
if [ "$USE_XDIALOG" ]; then
- # Add height to accomodate for embedded calendar widget
+ # Add height to accommodate for embedded calendar widget
__height=$(( $__height + $DIALOG_CALENDAR_HEIGHT - 1 ))
# Also, bump height if backtitle is enabled
diff --git a/usr.sbin/bsdconfig/share/geom.subr b/usr.sbin/bsdconfig/share/geom.subr
index 912a5c726f44..d6486c6d6543 100644
--- a/usr.sbin/bsdconfig/share/geom.subr
+++ b/usr.sbin/bsdconfig/share/geom.subr
@@ -91,7 +91,7 @@ f_struct_define GEOM_PROVIDER_CONFIG \
# f_geom_get_all
#
# Parse sysctl(8) `kern.geom.confxml' data into a series of structs. GEOM
-# classes are at the top of the heirarchy and are stored as numbered structs
+# classes are at the top of the hierarchy and are stored as numbered structs
# from 1 to $NGEOM_CLASSES (set by this function) named `geom_class_C'. GEOM
# objects within each class are stored as numbered structs from 1 to `ngeoms'
# (a property of the GEOM class struct) named `geom_class_C_geom_N' (where C
diff --git a/usr.sbin/bsdconfig/share/media/tcpip.subr b/usr.sbin/bsdconfig/share/media/tcpip.subr
index 42c6e205da30..d149bc6036d1 100644
--- a/usr.sbin/bsdconfig/share/media/tcpip.subr
+++ b/usr.sbin/bsdconfig/share/media/tcpip.subr
@@ -1129,7 +1129,7 @@ f_host_lookup()
# allows you to have a mostly non-interactive script that still
# prompts for network setup/confirmation.
#
-# After successfull execution, the following variables are set:
+# After successful execution, the following variables are set:
#
# VAR_IFCONFIG + $device (e.g., `ifconfig_em0')
# Defines the ifconfig(8) properties specific to $device.
diff --git a/usr.sbin/bsdconfig/share/packages/index.subr b/usr.sbin/bsdconfig/share/packages/index.subr
index de81656f73fb..95260da0de05 100644
--- a/usr.sbin/bsdconfig/share/packages/index.subr
+++ b/usr.sbin/bsdconfig/share/packages/index.subr
@@ -123,7 +123,7 @@ f_index_initialize()
#
#
- # Calculate digest used to determine if the on-disk persistant cache
+ # Calculate digest used to determine if the on-disk persistent cache
# INDEX (containing this digest on the first line) is valid and can be
# used to quickly populate the environment.
#
@@ -135,7 +135,7 @@ f_index_initialize()
fi
#
- # Check to see if the persistant cache INDEX file exists
+ # Check to see if the persistent cache INDEX file exists
#
if [ -f "$PACKAGES_INDEX_CACHEFILE" ]; then
#
@@ -184,7 +184,7 @@ f_index_initialize()
) | sort )'
#
- # Attempt to create the persistant on-disk cache
+ # Attempt to create the persistent on-disk cache
#
# Create a new temporary file to write to
diff --git a/usr.sbin/bsdconfig/share/packages/packages.subr b/usr.sbin/bsdconfig/share/packages/packages.subr
index 37801856ff28..a22edd8bbb27 100644
--- a/usr.sbin/bsdconfig/share/packages/packages.subr
+++ b/usr.sbin/bsdconfig/share/packages/packages.subr
@@ -143,7 +143,7 @@ f_package_select()
# f_package_deselect $package ...
#
-# Remove $package from teh list of tracked/selected packages. If $package is
+# Remove $package from the list of tracked/selected packages. If $package is
# not being tracked (doesn't appear in $SELECTED_PACKAGES), this function
# amounts to having no effet.
#
@@ -187,7 +187,7 @@ f_package_detect_installed()
# Also calculates the total number of installed/selected packages stored as
# $_All_ninstalled and $_All_nselected.
#
-# Calculations are peformed by checking "marks". A "mark" is stored as
+# Calculations are performed by checking "marks". A "mark" is stored as
# $_mark_$varpkg -- where $varpkg is the product of `f_str2varname $package
# varpkg'. A mark can be "X" for an installed package, `I' for a package that
# is marked for installation, "R" for a package that is marked for re-install,
diff --git a/usr.sbin/bsdconfig/startup/share/rcconf.subr b/usr.sbin/bsdconfig/startup/share/rcconf.subr
index 38b4cc896e75..80b6504994cc 100644
--- a/usr.sbin/bsdconfig/startup/share/rcconf.subr
+++ b/usr.sbin/bsdconfig/startup/share/rcconf.subr
@@ -124,7 +124,7 @@ f_startup_rcconf_map()
#
#
- # Calculate digest used to determine if the on-disk global persistant
+ # Calculate digest used to determine if the on-disk global persistent
# cache file (containing this digest on the first line) is valid and
# can be used to quickly populate the cache value for immediate return.
#
@@ -132,7 +132,7 @@ f_startup_rcconf_map()
__rc_defaults_digest=$( exec 2> /dev/null; md5 < "$RC_DEFAULTS" )
#
- # Check to see if the global persistant cache file exists
+ # Check to see if the global persistent cache file exists
#
if [ -f "$STARTUP_RCCONF_MAP_CACHEFILE" ]; then
#
@@ -176,7 +176,7 @@ f_startup_rcconf_map()
#
# If we reach this point, we need to generate the data from scratch
- # (and after we do, we'll attempt to create the global persistant
+ # (and after we do, we'll attempt to create the global persistent
# cache file to speed up future executions).
#
@@ -215,7 +215,7 @@ f_startup_rcconf_map()
fi
#
- # Attempt to create the persistant global cache
+ # Attempt to create the persistent global cache
#
# Create a new temporary file to write to
diff --git a/usr.sbin/bsdconfig/startup/share/rcvar.subr b/usr.sbin/bsdconfig/startup/share/rcvar.subr
index c5a7885296b0..c1a6ff2443e2 100644
--- a/usr.sbin/bsdconfig/startup/share/rcvar.subr
+++ b/usr.sbin/bsdconfig/startup/share/rcvar.subr
@@ -121,7 +121,7 @@ f_startup_rcvar_map()
#
# Calculate a digest given the checksums of all dependencies (scripts
# and the defaults file). This digest will be used to determine if an
- # on-disk global persistant cache file (containg this digest on the
+ # on-disk global persistent cache file (containg this digest on the
# first line) is valid and can be used to quickly populate the cache
# value for immediate return.
#
@@ -130,7 +130,7 @@ f_startup_rcvar_map()
cksum "$RC_DEFAULTS" $__rc_script_list 2> /dev/null | md5 )
#
- # Check to see if the global persistant cache file exists
+ # Check to see if the global persistent cache file exists
#
if [ -f "$STARTUP_RCVAR_MAP_CACHEFILE" ]; then
#
@@ -174,7 +174,7 @@ f_startup_rcvar_map()
#
# If we reach this point, we need to generate the data from scratch
- # (and after we do, we'll attempt to create the global persistant
+ # (and after we do, we'll attempt to create the global persistent
# cache file to speed up future executions).
#
@@ -208,7 +208,7 @@ f_startup_rcvar_map()
fi
#
- # Attempt to create/update the persistant global cache
+ # Attempt to create/update the persistent global cache
#
# Create a new temporary file to write to