mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
renamed internal functions
This commit is contained in:
parent
2000d8f73b
commit
d1e25a06f5
134 changed files with 260 additions and 263 deletions
|
@ -16,8 +16,8 @@ encoding=${7-UTF8}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -18,8 +18,8 @@ template=${8-template1}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -18,8 +18,8 @@ ttl=${7-14400}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -16,8 +16,8 @@ id=$6
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ cert=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cert_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cert.func
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
|
|
|
@ -17,8 +17,8 @@ job=$8
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cron_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cron.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -15,9 +15,9 @@ ip_name=$6
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/domain_func.sh # for namehosting
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/ip.func
|
||||
source $V_FUNC/domain.func # for namehosting
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
|
|
|
@ -15,7 +15,7 @@ lname=$6
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,8 +10,8 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cron_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cron.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -14,9 +14,9 @@ template=${4-default}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -14,8 +14,8 @@ dom_alias_idn=$(idn -t --quiet -a "$dom_alias" )
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ domain_idn=$(idn -t --quiet -a "$domain")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ domain_idn=$(idn -t --quiet -a "$domain")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -16,8 +16,8 @@ extentions=${4-$default_extentions}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -14,9 +14,9 @@ tpl_option=${4-single}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ type=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ auth_pass=$4
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,9 +11,9 @@ output=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
source $V_FUNC/db.func
|
||||
source $V_CONF/vesta.conf
|
||||
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ source /etc/profile.d/vesta.sh
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ db_password=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ exp=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ ip=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
|
|
|
@ -16,8 +16,8 @@ value=$(idn -t --quiet -u "$6" )
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ soa=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
|
|
|
@ -13,8 +13,8 @@ template=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ ttl=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -17,8 +17,8 @@ command=$8
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cron_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cron.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ ip_name=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ ip=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ ip_status=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ email=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
|
|
|
@ -12,7 +12,7 @@ lname=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -18,7 +18,7 @@ ns8=$9
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ package=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ password=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ shell=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,9 +13,9 @@ ip=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ certificate=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ tpl_option=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ template=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ database=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,8 +10,8 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ host=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ named_conf=/etc/named.conf
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ id=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,8 +10,8 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ cert=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cert_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cert.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ job=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cron_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cron.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,9 +10,9 @@ ip=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/ip.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,10 +10,10 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
source $V_FUNC/db.func
|
||||
source $V_FUNC/ip.func
|
||||
source $V_CONF/vesta.conf
|
||||
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cron_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cron.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,9 +12,9 @@ domain_idn=$(idn -t --quiet -a "$domain")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -14,8 +14,8 @@ dom_alias_idn=$(idn -t --quiet -a "$dom_alias" )
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ domain_idn=$(idn -t --quiet -a "$domain")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ domain_idn=$(idn -t --quiet -a "$domain")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ domain_idn=$(idn -t --quiet -a "$domain")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ domain_idn=$(idn -t --quiet -a "$domain")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ domain=$(idn -t --quiet -u "$2" )
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ auth_user=$3
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,8 +10,8 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ key=$(echo "$3"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ key=$(echo "$2"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -13,8 +13,8 @@ key=$(echo "$3"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ format=${3-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
# Json function
|
||||
json_list_db() {
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ format=${3-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
# Json function
|
||||
json_list_dbhost() {
|
||||
|
|
|
@ -12,7 +12,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ format=${3-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
# Json func
|
||||
json_list_dns() {
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,7 +10,7 @@ format=${1-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_dnstpl() {
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_cert() {
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_cron() {
|
||||
|
|
|
@ -10,7 +10,7 @@ format=${1-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_iface() {
|
||||
|
|
|
@ -12,8 +12,8 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
# Json function
|
||||
json_list_ip() {
|
||||
|
|
|
@ -10,7 +10,7 @@ format=${1-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_ips() {
|
||||
|
|
|
@ -12,7 +12,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_user() {
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_user_ips() {
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_ns() {
|
||||
|
|
|
@ -10,7 +10,7 @@ format=${1-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_pkgs() {
|
||||
|
|
|
@ -10,7 +10,7 @@ format=${1-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
# Json function
|
||||
json_list_users() {
|
||||
|
|
|
@ -12,8 +12,8 @@ format=${3-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
# Json function
|
||||
json_list_domain() {
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,7 +11,7 @@ format=${2-shell}
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,9 +10,9 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,8 +10,8 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cron_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cron.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,9 +10,9 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/ip_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
source $V_FUNC/ip.func
|
||||
|
||||
url=${2-$V_SUSPEND_URL}
|
||||
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
# dns system restart
|
||||
|
||||
# Importing variables
|
||||
source /etc/profile.d/vesta.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
source $VESTA/conf/vars.conf
|
||||
|
||||
bind() {
|
||||
/etc/init.d/named 'reload' >/dev/null 2>&1
|
||||
/etc/init.d/named reload >/dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
#$V_FUNC/report_issue 'sys' 'cron'
|
||||
echo "$E_RESTART_FAILED $V_EVENT"
|
||||
fi
|
||||
}
|
||||
|
||||
# Parsing config / or just source config
|
||||
dns_system=$(grep 'DNS_SYSTEM=' $V_CONF/vesta.conf | cut -f 2 -d \' )
|
||||
|
||||
if [ "$dns_system" = 'bind' ]; then
|
||||
if [ "$DNS_SYSTEM" = 'bind' ]; then
|
||||
bind
|
||||
fi
|
||||
|
|
@ -11,8 +11,8 @@ database=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,8 +10,8 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/db_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/db.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,8 +12,8 @@ domain_idn=$(idn -t --quiet -a "$domain")
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -10,8 +10,8 @@ user=$1
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/domain_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/domain.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -11,8 +11,8 @@ job=$2
|
|||
|
||||
# Importing variables
|
||||
source $VESTA/conf/vars.conf
|
||||
source $V_FUNC/shared_func.sh
|
||||
source $V_FUNC/cron_func.sh
|
||||
source $V_FUNC/shared.func
|
||||
source $V_FUNC/cron.func
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue