diff options
author | uqs <uqs@FreeBSD.org> | 2011-12-30 10:58:14 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-12-30 10:58:14 +0000 |
commit | 415a3a9b966c1522657d435a1785904f41accc78 (patch) | |
tree | 8895a44928d5c242eb33f5909e96b16aa8b19f50 /usr.sbin/pc-sysinstall | |
parent | c12910138c122eb89614cb32832cc1e81e4c23a7 (diff) | |
download | FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.zip FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.tar.gz |
Spelling fixes for usr.sbin/
Diffstat (limited to 'usr.sbin/pc-sysinstall')
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh | 2 | ||||
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend/functions-disk.sh | 2 | ||||
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend/functions-parse.sh | 6 |
3 files changed, 5 insertions, 5 deletions
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() { |