Skip to content

Commit d7496cf

Browse files
author
fliker09
committed
Small code and spellcheck fixes
1 parent a07eb1d commit d7496cf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

install/vst-install-rhel.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ gen_pass() {
8484
echo "$PASS"
8585
}
8686

87-
# Defning return code check function
87+
# Defining return code check function
8888
check_result() {
8989
if [ $1 -ne 0 ]; then
9090
echo "Error: $2"
@@ -222,7 +222,7 @@ fi
222222

223223
# Checking root permissions
224224
if [ "x$(id -u)" != 'x0' ]; then
225-
check_error 1 "Script can be run executed only by root"
225+
check_result 1 "Script can be run executed only by root"
226226
fi
227227

228228
# Checking admin user account
@@ -270,7 +270,7 @@ fi
270270
# Brief Info #
271271
#----------------------------------------------------------#
272272

273-
# Printing nice ascii aslogo
273+
# Printing nice ascii as logo
274274
clear
275275
echo
276276
echo ' _| _| _|_|_|_| _|_|_| _|_|_|_|_| _|_|'
@@ -704,7 +704,6 @@ chmod -R 750 $VESTA/data/queue
704704
chmod 660 $VESTA/log/*
705705
rm -f /var/log/vesta
706706
ln -s $VESTA/log /var/log/vesta
707-
chown admin:admin $VESTA/data/sessions
708707
chmod 770 $VESTA/data/sessions
709708

710709
# Generating vesta configuration
@@ -973,6 +972,7 @@ if [ "$mysql" = 'yes' ]; then
973972

974973
mkdir -p /var/lib/mysql
975974
chown mysql:mysql /var/lib/mysql
975+
mkdir -p /etc/my.cnf.d
976976

977977
if [ $release -ne 7 ]; then
978978
service='mysqld'
@@ -1282,7 +1282,7 @@ command="sudo $VESTA/bin/v-update-sys-rrd"
12821282
$VESTA/bin/v-add-cron-job 'admin' '*/5' '*' '*' '*' '*' "$command"
12831283
service crond restart
12841284

1285-
# Building inititall rrd images
1285+
# Building initial rrd images
12861286
$VESTA/bin/v-update-sys-rrd
12871287

12881288
# Enabling file system quota

0 commit comments

Comments
 (0)