From d4cd218a01deea78cc9a39a5fd3b405d9771e1c7 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Sat, 22 May 2021 15:50:42 -0500 Subject: [PATCH] Fix speeling and typos, rev1 --- add-jibri-node.sh | 2 +- add-jvb2-node.sh | 2 +- etherpad-docker.sh | 2 +- jm-bm.sh | 2 +- jra_nextcloud.sh | 4 ++-- mode/grid/selenium-grid-docker.sh | 2 +- old/jigasi.sh | 2 +- quick_jibri_installer.sh | 14 +++++++------- tools/jibri-conf-upgrade.sh | 4 ++-- tools/jibri-resolution-enhancer.sh | 2 +- tools/start-over.sh | 2 +- tools/test-jibri-env.sh | 4 ++-- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/add-jibri-node.sh b/add-jibri-node.sh index 442f393..5cdd7fb 100644 --- a/add-jibri-node.sh +++ b/add-jibri-node.sh @@ -539,7 +539,7 @@ systemctl daemon-reload systemctl enable remote_jnsync.service systemctl start remote_jnsync.service -echo "Writting last node number..." +echo "Writing last node number..." sed -i "$(var_dlim 0_VAR),$(var_dlim 1_VAR){s|LAST=.*|LAST=$ADDUP|}" add-jibri-node.sh sed -i "$(var_dlim 0_LAST),$(var_dlim 1_LAST){s|LETS: .*|LETS: $(date -R)|}" add-jibri-node.sh echo "Last file edition at: $(awk -F 'LETS:' '/LETS/{print$2}' add-jibri-node.sh|head -n1)" diff --git a/add-jvb2-node.sh b/add-jvb2-node.sh index 61478d4..37d08e2 100644 --- a/add-jvb2-node.sh +++ b/add-jvb2-node.sh @@ -309,7 +309,7 @@ ssh-keyscan -t rsa $MAIN_SRV_DOMAIN >> ~/.ssh/known_hosts ssh $MJS_USER@$MAIN_SRV_DOMAIN sh -c "'cat >> .ssh/authorized_keys'" < /home/$NJN_USER/.ssh/id_rsa.pub sudo su $NJN_USER -c "ssh-keyscan -t rsa $MAIN_SRV_DOMAIN >> /home/$NJN_USER/.ssh/known_hosts" -echo "Writting last node number..." +echo "Writing last node number..." sed -i "$(var_dlim 0_VAR),$(var_dlim 1_VAR){s|LAST=.*|LAST=$ADDUP|}" add-jvb2-node.sh sed -i "$(var_dlim 0_LAST),$(var_dlim 1_LAST){s|LETS: .*|LETS: $(date -R)|}" add-jvb2-node.sh echo "Last file edition at: $(grep "LETS:" add-jvb2-node.sh|head -n1|awk -F'LETS:' '{print$2}')" diff --git a/etherpad-docker.sh b/etherpad-docker.sh index 1e21ccd..d3719c0 100644 --- a/etherpad-docker.sh +++ b/etherpad-docker.sh @@ -9,7 +9,7 @@ do case "${option}" in m) MODE=${OPTARG};; - \?) echo "Usage: sudo ./etherpad.sh [-m debug]" && exit;; + \?) echo "Usage: sudo ./etherpad-docker.sh [-m debug]" && exit;; esac done diff --git a/jm-bm.sh b/jm-bm.sh index c4ace6b..6a0d68c 100644 --- a/jm-bm.sh +++ b/jm-bm.sh @@ -43,7 +43,7 @@ fi if [ ! -f "$REC_ICON_PATH" ];then cp images/gnome_record.png "$REC_ICON_PATH" else - echo "recodring icon exists, skipping copying..." + echo "recording icon exists, skipping copying..." fi #Custom / Remove icons diff --git a/jra_nextcloud.sh b/jra_nextcloud.sh index f4009da..9183d82 100644 --- a/jra_nextcloud.sh +++ b/jra_nextcloud.sh @@ -64,7 +64,7 @@ PUBLIC_IP="$(dig +short myip.opendns.com @resolver1.opendns.com)" while [[ "$ANS_NCD" != "yes" ]] do - read -p "> Please set your domain (or subdmain) here for Nextcloud: (e.g.: cloud.domain.com)"$'\n' -r NC_DOMAIN + read -p "> Please set your domain (or subdomain) here for Nextcloud: (e.g.: cloud.domain.com)"$'\n' -r NC_DOMAIN if [ -z "$NC_DOMAIN" ];then echo "-- This field is mandatory." elif [ "$NC_DOMAIN" = "$DOMAIN" ]; then @@ -105,7 +105,7 @@ while [ -z "$NC_PASS" ] || [ ${#NC_PASS} -lt 6 ] do read -p "Nextcloud user password: " -r NC_PASS if [ -z "$NC_PASS" ] || [ ${#NC_PASS} -lt 6 ]; then - echo -e "-- This field is mandatory. \nPlease make sure it's at least 6 caracters.\n" + echo -e "-- This field is mandatory. \nPlease make sure it's at least 6 characters.\n" fi done #Enable HSTS diff --git a/mode/grid/selenium-grid-docker.sh b/mode/grid/selenium-grid-docker.sh index 9b5a268..9d96a6d 100644 --- a/mode/grid/selenium-grid-docker.sh +++ b/mode/grid/selenium-grid-docker.sh @@ -133,7 +133,7 @@ SELENIUM_GRID_DOCKER docker-compose -f selenium.yml up -d echo -e "\n#=================== End of Seleniun Grid build ========================#\n" -echo -e "\nChange the values acording to you test requirements using something like;\n" +echo -e "\nChange the values according to you test requirements using something like;\n" echo "cd /opt/jitsi-meet-torture sudo bash /opt/jitsi-meet-torture/scripts/malleus.sh \\ --conferences=1 \\ diff --git a/old/jigasi.sh b/old/jigasi.sh index d5149cc..ee43517 100644 --- a/old/jigasi.sh +++ b/old/jigasi.sh @@ -62,7 +62,7 @@ do if [ "$SETUP_TYPE" = "1" ]; then echo "We'll setup a GC Projects from scratch" elif [ "$SETUP_TYPE" = "2" ]; then - echo "We'll setup only the proect and JSON key." + echo "We'll setup only the project and JSON key." fi done diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index e5a971c..88eb7f4 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -206,7 +206,7 @@ if [ "$CPU_MIN" = "Y" ] && [ "$MEM_MIN" = "Y" ];then " else echo "CPU ($(nproc --all))/RAM ($((mem_available/1024)) MiB) does NOT meet minimum recommended requirements!" - echo "Even when you can use the videconference sessions, we advice to increase the resources in order to user Jibri." + echo "Even when you can use the videoconferencing sessions, we advice to increase the resources in order to user Jibri." while [[ "$CONTINUE_LOW_RES" != "yes" && "$CONTINUE_LOW_RES" != "no" ]] do read -p "> Do you want to continue?: (yes or no)"$'\n' -r CONTINUE_LOW_RES @@ -250,7 +250,7 @@ So you can add a Jibri server on a instance with enough resources.\n" fi #Check system oriented porpuse -echo "Cheking system oriented purpose...." +echo "Checking system oriented purpose...." apt-get -yq2 update SYSTEM_DE="$(apt-cache search "ubuntu-(desktop|mate-desktop)"|awk '{print$1}'|xargs|sed 's|$| trisquel triskel trisquel-mini|')" SYSTEM_DE_ARRAY=( $SYSTEM_DE ) @@ -283,7 +283,7 @@ while [[ "$LE_SSL" != "yes" && "$LE_SSL" != "no" ]] do read -p "> Do you plan to use Let's Encrypt SSL certs?: (yes or no)"$'\n' -r LE_SSL if [ $LE_SSL = yes ]; then - echo "We'll defaul to Let's Encrypt SSL certs." + echo "We'll default to Let's Encrypt SSL certs." else echo "We'll let you choose later on for it. Please be aware that a valid SSL cert is required for some features to work properly." @@ -293,7 +293,7 @@ done if [ "$LE_SSL" = "yes" ]; then while [[ "$ANS_JD" != "yes" ]] do - read -p "> Please set your domain (or subdmain) here: (e.g.: jitsi.domain.com)"$'\n' -r JITSI_DOMAIN + read -p "> Please set your domain (or subdomain) here: (e.g.: jitsi.domain.com)"$'\n' -r JITSI_DOMAIN read -p "> Did you mean?: $JITSI_DOMAIN (yes or no)"$'\n' -r ANS_JD if [ "$ANS_JD" = "yes" ]; then echo "Alright, let's use $JITSI_DOMAIN." @@ -529,7 +529,7 @@ done #if [ $ENABLE_DB = no ]; then # echo "Dropbox won't be enable" #elif [ $ENABLE_DB = yes ]; then -# read -p "Please set your Drobbox App key: "$'\n' -r DB_CID +# read -p "Please set your Dropbox App key: "$'\n' -r DB_CID #fi #done #Brandless Mode @@ -559,7 +559,7 @@ do if [ "$ENABLE_CLOCP" = "yes" ]; then echo "Close page will be enabled." elif [ "$ENABLE_CLOCP" = "no" ]; then - echo "Close page will be keept disabled." + echo "Close page will be kept disabled." fi done #Enable static avatar @@ -687,7 +687,7 @@ if [ "$LE_SSL" = "yes" ]; then echo "#Set and upgrade certbot PPA if posssible..." if [ "$CERTBOT_REPO" = "certbot" ]; then - echo -e "\nCerbot repository already on the system!\nChecking for updates...\n" + echo -e "\nCertbot repository already on the system!\nChecking for updates...\n" apt-get -q2 update apt-get -yq2 dist-upgrade elif [ "$(curl -s -o /dev/null -w "%{http_code}" $CERTBOT_REL_FILE )" == "200" ]; then diff --git a/tools/jibri-conf-upgrade.sh b/tools/jibri-conf-upgrade.sh index d244189..177f676 100644 --- a/tools/jibri-conf-upgrade.sh +++ b/tools/jibri-conf-upgrade.sh @@ -82,7 +82,7 @@ https://github.com/switnet-ltd/quick-jibri-installer/issues\n" elif [ ! -f $CONF_JSON ] && \ [ -f $JIBRI_CONF ] && \ [ -f $JIBRI_CONF-dpkg-file ]; then - echo -e "\n> This jibri seems to be running the lastest configuration already, we'll exit...\n\nIf you think there maybe an error on checking you current jibri configuration.\nPlease report this to \ + echo -e "\n> This jibri seems to be running the latest configuration already, we'll exit...\n\nIf you think there maybe an error on checking you current jibri configuration.\nPlease report this to \ https://github.com/switnet-ltd/quick-jibri-installer/issues\n" exit elif [ -f $CONF_JSON ] && \ @@ -121,7 +121,7 @@ echo "$JB_NICKN" fi #Backup and setup new conf file -echo -e "Backing up config.json for historical porpuses at:\n ${CONF_JSON}_disabled" +echo -e "Backing up config.json for historical purposes at:\n ${CONF_JSON}_disabled" mv $CONF_JSON ${CONF_JSON}_disabled mv $JIBRI_CONF ${JIBRI_CONF}-dpkg-file diff --git a/tools/jibri-resolution-enhancer.sh b/tools/jibri-resolution-enhancer.sh index e32180b..c18e879 100644 --- a/tools/jibri-resolution-enhancer.sh +++ b/tools/jibri-resolution-enhancer.sh @@ -107,7 +107,7 @@ else cp /tmp/jibri/opt/jitsi/jibri/jibri.jar $JIBRI_OPT/jibri.jar CLEAN="true" else - echo "Wow, someone took the time to avoid restauration, please manually review your changes." + echo "Wow, someone took the time to avoid restoration, please manually review your changes." echo "Exiting..." exit fi diff --git a/tools/start-over.sh b/tools/start-over.sh index 4e88c1a..a6614e7 100644 --- a/tools/start-over.sh +++ b/tools/start-over.sh @@ -52,7 +52,7 @@ echo -e ' SYNC_USER="$(ls /home|awk '/jbsync/{print}')" -echo "We are about to remove and clean all the jitsi-meet plaform bits and pieces... +echo "We are about to remove and clean all the jitsi-meet platform bits and pieces... Please make sure you have backed up anything you don't want to loose." echo " diff --git a/tools/test-jibri-env.sh b/tools/test-jibri-env.sh index 4f8e9ee..cc6f143 100644 --- a/tools/test-jibri-env.sh +++ b/tools/test-jibri-env.sh @@ -124,7 +124,7 @@ if [ ! -z "$CHD_VER_LOCAL" ] && [ ! -z "$GOOGL_VER_LOCAL" ]; then chmod 0755 $CHDB rm -rf /tpm/chromedriver_linux64.zip if [ "$($CHDB -v | awk '{print $2}'|cut -d "." -f 1,2)" = "$GOOGL_VER_2D" ]; then - echo "Successfull update" + echo "Successful update" T3=1 else echo "Something might gone wrong on the update process, please report." @@ -195,7 +195,7 @@ T6=1 elif [ ! -f $CONF_JSON ] && \ [ -f $JIBRI_CONF ] && \ [ -f ${JIBRI_CONF}-dpkg-file ]; then - echo -e "\n> This jibri seems to be running the lastest configuration already. \xE2\x9C\x94 \n\nIf you think there maybe an error on checking you current jibri configuration.\nPlease report this to \ + echo -e "\n> This jibri seems to be running the latest configuration already. \xE2\x9C\x94 \n\nIf you think there maybe an error on checking you current jibri configuration.\nPlease report this to \ https://github.com/switnet-ltd/quick-jibri-installer/issues\n" T6=1 elif [ -f ${CONF_JSON} ] && \