summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-06-29 09:16:25 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-06-29 09:16:25 +0300
commitd23c0f9f89e7f6e2b4e004c63b9f607d976eea19 (patch)
tree2fabfc4c27c2b56e63c2397e05eebdb1b2af3db5 /scripts/install
parent9a013e8fae4178b3f7874016816cee0679c18b6d (diff)
downloadvyatta-cfg-system-d23c0f9f89e7f6e2b4e004c63b9f607d976eea19.tar.gz
vyatta-cfg-system-d23c0f9f89e7f6e2b4e004c63b9f607d976eea19.zip
ci: T8490: fix typos in comments and install/snmp messagesci/T8490-typos-vyatta-cfg-system
Comment- and message-string typos only (no code identifiers changed): - scripts/install/install-get-partition: parition/partiton/partion -> partition; accomdate -> accommodate - scripts/install/install-image-existing: yelds -> yields; underlaying -> underlying - scripts/snmp/if-mib-alias: "not-writeable" -> "not-writable" - scripts/vyatta-grub-setup: "grup-setup" -> "grub-setup" (GRUB, not "group"); maintance -> maintenance Clears this repo's typos-check hits ahead of the T8490 ruleset pilot active flip. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-get-partition8
-rwxr-xr-xscripts/install/install-image-existing4
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index bb8d8c11..dfd1366c 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -235,7 +235,7 @@ check_for_new_raid () {
for drive in $drives; do
create_partitions "$drive" $root_size "no"
if [ -d /sys/firmware/efi ]; then
- #EFI moves the data parition on RAID to 3
+ #EFI moves the data partition on RAID to 3
data_dev=3
echo "Create data partition: ${data_dev} on /dev/${drive}"
else
@@ -576,7 +576,7 @@ delete_partitions () {
# get the partitions on the drive
# in the first grep below we add the optional [p] in order to
- # accomdate cciss drives
+ # accommodate cciss drives
partitions=$(awk '/'$ldrive'p?[0-9]+$/ { sub(/'$ldrive'/, "") ; print $NF }' /proc/partitions)
mkdir -p /mnt/tmp
@@ -736,7 +736,7 @@ setup_method_manual() {
parted=$1
echo "The VyOS install needs a minimum ${ROOT_MIN}MB root"
- echo "with partiton type 83 (Linux)."
+ echo "with partition type 83 (Linux)."
echo -e "\n\n"
# if this is parted, let the user create the partitions
@@ -841,7 +841,7 @@ setup_method_auto () {
root_part_size=$(echo "$response" | sed 's/[^0-9]//g')
if [ $root_part_size -lt $ROOT_MIN ] \
|| [ $root_part_size -gt $size ]; then
- echo "Root partion must be between $ROOT_MIN"MB" and $size"MB""
+ echo "Root partition must be between $ROOT_MIN"MB" and $size"MB""
echo
root_part_size=0
fi
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing
index 7cf0b4db..a82f6281 100755
--- a/scripts/install/install-image-existing
+++ b/scripts/install/install-image-existing
@@ -43,7 +43,7 @@ fi
# On image-installed systems, the image name can be found as the
# directory under "/boot" on the path to the running kernel on the
-# boot line. On non-image-installed systems, this yelds the
+# boot line. On non-image-installed systems, this yields the
# name of the kernel image file.
CURVER=`awk '{print $1}' /proc/cmdline`
CURVER=${CURVER#BOOT_IMAGE=/boot/}
@@ -283,7 +283,7 @@ if ! try_unmount "--read-only $INST_ROOT $READ_ROOT"; then
failure_exit 'Failed to unmount new squashfs image.'
fi
-# sync underlaying filesystems
+# sync underlying filesystems
sync
logger -p local3.warning -t "SystemImage" "System Image $NEWNAME has been added and made the default boot image"