mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
Spelling correction
some spelling corrections
This commit is contained in:
parent
f7bd734faa
commit
f1062c3448
1 changed files with 10 additions and 10 deletions
|
@ -9,7 +9,7 @@
|
||||||
# Variable&Function #
|
# Variable&Function #
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
||||||
# Argument defenition
|
# Argument definition
|
||||||
user=$1
|
user=$1
|
||||||
domain=$2
|
domain=$2
|
||||||
ip=$3
|
ip=$3
|
||||||
|
@ -48,31 +48,31 @@ if [ -z "$ip" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Web domain
|
# Web domain
|
||||||
# Not restart at this point will loose conecction from API calls
|
# Do Not restart at this point will loose conecction from API calls
|
||||||
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
|
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
|
||||||
$BIN/v-add-web-domain $user $domain $ip no
|
$BIN/v-add-web-domain $user $domain $ip no
|
||||||
retun_code=$?
|
return_code=$?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Proxy support
|
# Proxy support
|
||||||
# Not restart at this point will loose conecction from API calls
|
# Do Not restart at this point will loose conecction from API calls
|
||||||
if [ ! -z "$PROXY_SYSTEM" ] && [ "$retun_code" -eq 0 ]; then
|
if [ ! -z "$PROXY_SYSTEM" ] && [ "$return_code" -eq 0 ]; then
|
||||||
$BIN/v-add-web-domain-proxy $user $domain '' '' no
|
$BIN/v-add-web-domain-proxy $user $domain '' '' no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# DNS domain
|
# DNS domain
|
||||||
if [ ! -z "$DNS_SYSTEM" ] && [ "$DNS_SYSTEM" != 'no' ]; then
|
if [ ! -z "$DNS_SYSTEM" ] && [ "$DNS_SYSTEM" != 'no' ]; then
|
||||||
if [ "$retun_code" -eq 0 ]; then
|
if [ "$return_code" -eq 0 ]; then
|
||||||
$BIN/v-add-dns-domain $user $domain $ip
|
$BIN/v-add-dns-domain $user $domain $ip
|
||||||
retun_code=$?
|
return_code=$?
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mail domain
|
# Mail domain
|
||||||
if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL_SYSTEM" != 'no' ]; then
|
if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL_SYSTEM" != 'no' ]; then
|
||||||
if [ "$retun_code" -eq 0 ]; then
|
if [ "$return_code" -eq 0 ]; then
|
||||||
$BIN/v-add-mail-domain $user $domain
|
$BIN/v-add-mail-domain $user $domain
|
||||||
retun_code=$?
|
return_code=$?
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -81,4 +81,4 @@ fi
|
||||||
# Vesta #
|
# Vesta #
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
||||||
exit $retun_code
|
exit $return_code
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue