From 415a3a9b966c1522657d435a1785904f41accc78 Mon Sep 17 00:00:00 2001 From: uqs Date: Fri, 30 Dec 2011 10:58:14 +0000 Subject: Spelling fixes for usr.sbin/ --- usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh | 2 +- usr.sbin/pc-sysinstall/backend/functions-disk.sh | 2 +- usr.sbin/pc-sysinstall/backend/functions-parse.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.sbin/pc-sysinstall') diff --git a/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh b/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh index c444f65..1db01ff 100755 --- a/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh +++ b/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh @@ -73,7 +73,7 @@ DISK="`echo $PARTITION | cut -c 1-${CHARS}`" # Make sure we have a valid disk name still if [ ! -e "/dev/${DISK}" ] ; then - echo "Error: Disk: ${DISK} doesnt exist!" + echo "Error: Disk: ${DISK} doesn't exist!" exit 1 fi diff --git a/usr.sbin/pc-sysinstall/backend/functions-disk.sh b/usr.sbin/pc-sysinstall/backend/functions-disk.sh index 51a659e..84534f9 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-disk.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-disk.sh @@ -417,7 +417,7 @@ setup_disk_slice() if [ $LASTSLICE -gt 4 ] then - exit_err "ERROR: BSD only supports primary partitions, and there are none availble on $DISK" + exit_err "ERROR: BSD only supports primary partitions, and there are none available on $DISK" fi fi diff --git a/usr.sbin/pc-sysinstall/backend/functions-parse.sh b/usr.sbin/pc-sysinstall/backend/functions-parse.sh index 8b9d418..fecb018 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-parse.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-parse.sh @@ -69,7 +69,7 @@ if_check_value_exists() { if [ -n "${1}" -a -n "${2}" ] then - # Get the first occurance of the setting from the config, strip out whitespace + # Get the first occurrence of the setting from the config, strip out whitespace VAL=`grep "^${1}" ${CFGF} | head -n 1 | cut -d '=' -f 2 | tr -d ' '` if [ -z "${VAL}" ] @@ -103,7 +103,7 @@ check_value() { if [ -n "${1}" -a -n "${2}" ] then - # Get the first occurance of the setting from the config, strip out whitespace + # Get the first occurrence of the setting from the config, strip out whitespace VAL=`grep "^${1}" ${CFGF} | head -n 1 | cut -d '=' -f 2 | tr -d ' '` VALID="1" for i in ${2} @@ -122,7 +122,7 @@ check_value() fi }; -# Checks for the presense of the supplied arguements in the config file +# Checks for the presence of the supplied arguments in the config file # 1 = values to confirm exist file_sanity_check() { -- cgit v1.1