added main include

This commit is contained in:
Serghey Rodin 2011-11-21 15:46:02 +02:00
commit 3a268ebe64
75 changed files with 76 additions and 1 deletions

View file

@ -16,6 +16,7 @@ encoding=${7-UTF8}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -18,6 +18,7 @@ template=${8-template1}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -18,6 +18,7 @@ ttl=${7-14400}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -16,6 +16,7 @@ id=$6
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -11,6 +11,7 @@ ssl=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cert.func

View file

@ -17,6 +17,7 @@ job=$8
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -15,6 +15,7 @@ ip_name=$6
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/ip.func
source $V_FUNC/domain.func # for namehosting

View file

@ -15,6 +15,7 @@ lname=$6
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -11,6 +11,7 @@ output=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func
source $V_FUNC/db.func

View file

@ -12,6 +12,7 @@ source /etc/profile.d/vesta.sh
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -12,6 +12,7 @@ db_password=$3
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -13,6 +13,7 @@ exp=$3
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -13,6 +13,7 @@ ip=$3
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -16,6 +16,7 @@ value=$(idn -t --quiet -u "$6" )
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -13,6 +13,7 @@ soa=$3
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -13,6 +13,7 @@ template=$3
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -13,6 +13,7 @@ ttl=$3
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -11,6 +11,7 @@ value=${2// /%spc%}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -17,6 +17,7 @@ command=$8
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -11,6 +11,7 @@ ip_name=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/ip.func

View file

@ -11,6 +11,7 @@ ip=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/ip.func

View file

@ -11,6 +11,7 @@ ip_status=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/ip.func

View file

@ -11,6 +11,7 @@ email=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
#----------------------------------------------------------#

View file

@ -12,6 +12,7 @@ lname=$3
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -18,6 +18,7 @@ ns8=$9
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -11,6 +11,7 @@ package=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -11,6 +11,7 @@ password=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -11,6 +11,7 @@ shell=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -11,6 +11,7 @@ database=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -11,6 +11,7 @@ host=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -12,6 +12,7 @@ named_conf=/etc/named.conf
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -13,6 +13,7 @@ id=$3
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -11,6 +11,7 @@ ssl=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cert.func

View file

@ -11,6 +11,7 @@ job=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -10,6 +10,7 @@ ip=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/ip.func
source $V_FUNC/domain.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func
source $V_FUNC/db.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -13,6 +13,7 @@ key=$(echo "$3"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/")
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -11,6 +11,7 @@ key=$(echo "$2"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/")
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func
source $V_FUNC/ip.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -4,6 +4,7 @@
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
crond() {
/etc/init.d/crond 'reload' >/dev/null 2>&1

View file

@ -6,6 +6,7 @@
source /etc/profile.d/vesta.sh
source $VESTA/conf/vesta.conf
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
bind() {
/etc/init.d/named reload >/dev/null 2>&1

View file

@ -11,6 +11,7 @@ database=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -12,6 +12,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -11,6 +11,7 @@ job=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -11,6 +11,7 @@ database=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -12,6 +12,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -11,6 +11,7 @@ job=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/cron.func

View file

@ -11,6 +11,7 @@ database=$2
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -12,7 +12,8 @@ owner=${3-vesta}
ip_status=${4-shared}
# Importing variables
source $VESTA/conf/vars.conf # include for internal func
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf # include for internal func
source $V_FUNC/shared.func
source $V_FUNC/ip.func
source $V_FUNC/domain.func

View file

@ -13,6 +13,7 @@ source /etc/profile.d/vesta.sh
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
# Defining pipe functions

View file

@ -13,6 +13,7 @@ source /etc/profile.d/vesta.sh
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
# Another workaround for cron enviroment

View file

@ -13,6 +13,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_CONF/vesta.conf
#----------------------------------------------------------#

View file

@ -13,6 +13,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
#----------------------------------------------------------#

View file

@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
#----------------------------------------------------------#

View file

@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
#----------------------------------------------------------#

View file

@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
#----------------------------------------------------------#

View file

@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/db.func

View file

@ -13,6 +13,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M}
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_CONF/vesta.conf
#----------------------------------------------------------#

View file

@ -14,6 +14,7 @@ source /etc/profile.d/vesta.sh
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_FUNC/domain.func

View file

@ -10,6 +10,7 @@ user=$1
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func

View file

@ -17,6 +17,7 @@ source /etc/profile.d/vesta.sh
# Importing variables
source $VESTA/conf/vars.conf
source $V_CONF/vesta.conf
source $V_FUNC/shared.func
source $V_CONF/vesta.conf