Просмотр исходного кода

renamed shared func to main func

Serghey Rodin 14 лет назад
Родитель
Сommit
b7a47d404c
100 измененных файлов с 100 добавлено и 100 удалено
  1. 1 1
      bin/v_add_cron_job
  2. 1 1
      bin/v_add_cron_report
  3. 1 1
      bin/v_add_database
  4. 1 1
      bin/v_add_database_server
  5. 1 1
      bin/v_add_dns_domain
  6. 1 1
      bin/v_add_dns_domain_record
  7. 1 1
      bin/v_add_mail_account
  8. 1 1
      bin/v_add_mail_account_alias
  9. 1 1
      bin/v_add_mail_account_autoreply
  10. 1 1
      bin/v_add_mail_account_forward
  11. 1 1
      bin/v_add_mail_domain
  12. 1 1
      bin/v_add_mail_domain_antispam
  13. 1 1
      bin/v_add_mail_domain_antivirus
  14. 1 1
      bin/v_add_mail_domain_cactchall
  15. 1 1
      bin/v_add_mail_domain_dkim
  16. 1 1
      bin/v_add_sys_ip
  17. 1 1
      bin/v_add_user
  18. 1 1
      bin/v_add_user_backup
  19. 1 1
      bin/v_add_web_domain
  20. 1 1
      bin/v_add_web_domain_alias
  21. 1 1
      bin/v_add_web_domain_cgi
  22. 1 1
      bin/v_add_web_domain_elog
  23. 1 1
      bin/v_add_web_domain_nginx
  24. 1 1
      bin/v_add_web_domain_ssl
  25. 1 1
      bin/v_add_web_domain_stats
  26. 1 1
      bin/v_add_web_domain_stats_user
  27. 1 1
      bin/v_backup_user
  28. 1 1
      bin/v_backup_users
  29. 1 1
      bin/v_change_cron_job
  30. 1 1
      bin/v_change_database_password
  31. 1 1
      bin/v_change_dns_domain_exp
  32. 1 1
      bin/v_change_dns_domain_ip
  33. 1 1
      bin/v_change_dns_domain_record
  34. 1 1
      bin/v_change_dns_domain_soa
  35. 1 1
      bin/v_change_dns_domain_tpl
  36. 1 1
      bin/v_change_dns_domain_ttl
  37. 1 1
      bin/v_change_mail_account_password
  38. 1 1
      bin/v_change_mail_account_quota
  39. 1 1
      bin/v_change_mail_domain_cactchall
  40. 1 1
      bin/v_change_sys_config_value
  41. 1 1
      bin/v_change_sys_ip_name
  42. 1 1
      bin/v_change_sys_ip_owner
  43. 1 1
      bin/v_change_sys_ip_status
  44. 1 1
      bin/v_change_user_contact
  45. 1 1
      bin/v_change_user_name
  46. 1 1
      bin/v_change_user_ns
  47. 1 1
      bin/v_change_user_package
  48. 1 1
      bin/v_change_user_password
  49. 1 1
      bin/v_change_user_shell
  50. 1 1
      bin/v_change_web_domain_ip
  51. 1 1
      bin/v_change_web_domain_sslcert
  52. 1 1
      bin/v_change_web_domain_sslhome
  53. 1 1
      bin/v_change_web_domain_tpl
  54. 1 1
      bin/v_delete_cron_job
  55. 1 1
      bin/v_delete_cron_reports
  56. 1 1
      bin/v_delete_database
  57. 1 1
      bin/v_delete_database_server
  58. 1 1
      bin/v_delete_databases
  59. 1 1
      bin/v_delete_dns_domain
  60. 1 1
      bin/v_delete_dns_domain_record
  61. 1 1
      bin/v_delete_dns_domains
  62. 1 1
      bin/v_delete_mail_account
  63. 1 1
      bin/v_delete_mail_account_alias
  64. 1 1
      bin/v_delete_mail_account_autoreply
  65. 1 1
      bin/v_delete_mail_account_forward
  66. 1 1
      bin/v_delete_mail_domain
  67. 1 1
      bin/v_delete_mail_domain_antispam
  68. 1 1
      bin/v_delete_mail_domain_antivirus
  69. 1 1
      bin/v_delete_mail_domain_cactchall
  70. 1 1
      bin/v_delete_mail_domain_dkim
  71. 1 1
      bin/v_delete_sys_ip
  72. 1 1
      bin/v_delete_user
  73. 1 1
      bin/v_delete_user_ips
  74. 1 1
      bin/v_delete_web_domain
  75. 1 1
      bin/v_delete_web_domain_alias
  76. 1 1
      bin/v_delete_web_domain_cgi
  77. 1 1
      bin/v_delete_web_domain_elog
  78. 1 1
      bin/v_delete_web_domain_nginx
  79. 1 1
      bin/v_delete_web_domain_ssl
  80. 1 1
      bin/v_delete_web_domain_stats
  81. 1 1
      bin/v_delete_web_domain_stats_user
  82. 1 1
      bin/v_delete_web_domains
  83. 1 1
      bin/v_get_dns_domain_value
  84. 1 1
      bin/v_get_user_value
  85. 1 1
      bin/v_get_web_domain_value
  86. 1 1
      bin/v_list_cron_jobs
  87. 1 1
      bin/v_list_database
  88. 1 1
      bin/v_list_database_server
  89. 1 1
      bin/v_list_database_servers
  90. 1 1
      bin/v_list_databases
  91. 1 1
      bin/v_list_dns_domain
  92. 1 1
      bin/v_list_dns_domain_records
  93. 1 1
      bin/v_list_dns_domains
  94. 1 1
      bin/v_list_dns_template
  95. 1 1
      bin/v_list_dns_templates
  96. 1 1
      bin/v_list_mail_account
  97. 1 1
      bin/v_list_mail_account_autoreply
  98. 1 1
      bin/v_list_mail_accounts
  99. 1 1
      bin/v_list_mail_domain
  100. 1 1
      bin/v_list_mail_domain_dkim

+ 1 - 1
bin/v_add_cron_job

@@ -22,7 +22,7 @@ job=$8
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_add_cron_report

@@ -15,7 +15,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_add_database

@@ -27,7 +27,7 @@ charset=$(echo "$charset" |tr '[:lower:]' '[:upper:]')
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/db.sh
 
 

+ 1 - 1
bin/v_add_database_server

@@ -25,7 +25,7 @@ template=${8-template1}
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/db.sh
 
 

+ 1 - 1
bin/v_add_dns_domain

@@ -27,7 +27,7 @@ ttl=${7-14400}
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_dns_domain_record

@@ -27,7 +27,7 @@ priority=$7
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_account

@@ -20,7 +20,7 @@ quota=${5-0}
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_account_alias

@@ -19,7 +19,7 @@ malias=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_account_autoreply

@@ -19,7 +19,7 @@ autoreply=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_account_forward

@@ -19,7 +19,7 @@ forward=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_domain

@@ -21,7 +21,7 @@ dkim_size=${6-512}
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_domain_antispam

@@ -17,7 +17,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_domain_antivirus

@@ -17,7 +17,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_domain_cactchall

@@ -18,7 +18,7 @@ email="$3"
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_mail_domain_dkim

@@ -18,7 +18,7 @@ dkim_size=${3-512}
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_sys_ip

@@ -24,7 +24,7 @@ ip_name=$6
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/ip.sh
 source $VESTA/func/domain.sh
 

+ 1 - 1
bin/v_add_user

@@ -19,7 +19,7 @@ lname=$6
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 is_user_free() {
     check_sysuser=$(cut -f 1 -d : /etc/passwd | grep -w "$user" )

+ 1 - 1
bin/v_add_user_backup

@@ -14,7 +14,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_add_web_domain

@@ -24,7 +24,7 @@ template=${4-default}
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 source $VESTA/func/ip.sh
 

+ 1 - 1
bin/v_add_web_domain_alias

@@ -21,7 +21,7 @@ dom_alias_idn=$(idn -t --quiet -a "$dom_alias" )
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_web_domain_cgi

@@ -19,7 +19,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_web_domain_elog

@@ -17,7 +17,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_web_domain_nginx

@@ -21,7 +21,7 @@ extentions=${4-$default_extentions}
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_web_domain_ssl

@@ -23,7 +23,7 @@ ssl_home=${4-single}
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 source $VESTA/func/ip.sh
 

+ 1 - 1
bin/v_add_web_domain_stats

@@ -21,7 +21,7 @@ type=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_add_web_domain_stats_user

@@ -17,7 +17,7 @@ stats_pass=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_backup_user

@@ -14,7 +14,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 source $VESTA/func/db.sh
 

+ 1 - 1
bin/v_backup_users

@@ -15,7 +15,7 @@ source /etc/profile.d/vesta.sh
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_cron_job

@@ -22,7 +22,7 @@ command=$8
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_database_password

@@ -17,7 +17,7 @@ dbpass=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/db.sh
 
 

+ 1 - 1
bin/v_change_dns_domain_exp

@@ -18,7 +18,7 @@ exp=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_dns_domain_ip

@@ -17,7 +17,7 @@ ip=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_dns_domain_record

@@ -24,7 +24,7 @@ priority=$7
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_dns_domain_soa

@@ -18,7 +18,7 @@ soa=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_dns_domain_tpl

@@ -19,7 +19,7 @@ template=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_dns_domain_ttl

@@ -17,7 +17,7 @@ ttl=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_mail_account_password

@@ -19,7 +19,7 @@ password=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_mail_account_quota

@@ -19,7 +19,7 @@ quota=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_mail_domain_cactchall

@@ -18,7 +18,7 @@ email="$3"
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_sys_config_value

@@ -16,7 +16,7 @@ value=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_sys_ip_name

@@ -15,7 +15,7 @@ ip_name=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/ip.sh
 
 

+ 1 - 1
bin/v_change_sys_ip_owner

@@ -14,7 +14,7 @@ ip=$1
 user=$2
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/ip.sh
 
 

+ 1 - 1
bin/v_change_sys_ip_status

@@ -14,7 +14,7 @@ ip=$1
 ip_status=$2
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/ip.sh
 
 

+ 1 - 1
bin/v_change_user_contact

@@ -15,7 +15,7 @@ email=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_user_name

@@ -16,7 +16,7 @@ lname=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_user_ns

@@ -22,7 +22,7 @@ ns8=$9
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_user_package

@@ -15,7 +15,7 @@ package=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 is_package_avalable() {
     # Parsing user data

+ 1 - 1
bin/v_change_user_password

@@ -15,7 +15,7 @@ password=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_user_shell

@@ -15,7 +15,7 @@ shell=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_change_web_domain_ip

@@ -18,7 +18,7 @@ ip=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 source $VESTA/func/ip.sh
 

+ 1 - 1
bin/v_change_web_domain_sslcert

@@ -18,7 +18,7 @@ ssl_dir=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_web_domain_sslhome

@@ -13,7 +13,7 @@ ssl_home=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_change_web_domain_tpl

@@ -18,7 +18,7 @@ template=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_cron_job

@@ -15,7 +15,7 @@ job=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_delete_cron_reports

@@ -15,7 +15,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_delete_database

@@ -16,7 +16,7 @@ database=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/db.sh
 
 

+ 1 - 1
bin/v_delete_database_server

@@ -16,7 +16,7 @@ host=$2
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/db.sh
 
 

+ 1 - 1
bin/v_delete_databases

@@ -14,7 +14,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_delete_dns_domain

@@ -17,7 +17,7 @@ restart="$3"
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_dns_domain_record

@@ -17,7 +17,7 @@ id=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_dns_domains

@@ -14,7 +14,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_delete_mail_account

@@ -18,7 +18,7 @@ account=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_mail_account_alias

@@ -19,7 +19,7 @@ malias=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_mail_account_autoreply

@@ -19,7 +19,7 @@ malias=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_mail_account_forward

@@ -19,7 +19,7 @@ forward=$4
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_mail_domain

@@ -16,7 +16,7 @@ domain=$(idn -t --quiet -u "$2" )
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_mail_domain_antispam

@@ -17,7 +17,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_mail_domain_antivirus

@@ -17,7 +17,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_mail_domain_cactchall

@@ -17,7 +17,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_mail_domain_dkim

@@ -16,7 +16,7 @@ domain=$(echo $domain | tr '[:upper:]' '[:lower:]')
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_sys_ip

@@ -15,7 +15,7 @@ ip=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/ip.sh
 source $VESTA/func/domain.sh
 

+ 1 - 1
bin/v_delete_user

@@ -15,7 +15,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 source $VESTA/func/db.sh
 source $VESTA/func/ip.sh

+ 1 - 1
bin/v_delete_user_ips

@@ -14,7 +14,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/ip.sh
 
 

+ 1 - 1
bin/v_delete_web_domain

@@ -20,7 +20,7 @@ restart=$3
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 source $VESTA/func/ip.sh
 

+ 1 - 1
bin/v_delete_web_domain_alias

@@ -19,7 +19,7 @@ dom_alias_idn=$(idn -t --quiet -a "$dom_alias" )
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_web_domain_cgi

@@ -19,7 +19,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_web_domain_elog

@@ -18,7 +18,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_web_domain_nginx

@@ -16,7 +16,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_web_domain_ssl

@@ -16,7 +16,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_web_domain_stats

@@ -16,7 +16,7 @@ domain=$(idn -t --quiet -u "$2" )
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_web_domain_stats_user

@@ -18,7 +18,7 @@ domain=$(idn -t --quiet -u "$2" )
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_delete_web_domains

@@ -14,7 +14,7 @@ user=$1
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_get_dns_domain_value

@@ -16,7 +16,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
 key=$(echo "$3"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/")
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_get_user_value

@@ -15,7 +15,7 @@ key=$(echo "$2"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_get_web_domain_value

@@ -19,7 +19,7 @@ key=$(echo "$3"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/")
 
 # Includes
 source $VESTA/conf/vesta.conf
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 

+ 1 - 1
bin/v_list_cron_jobs

@@ -14,7 +14,7 @@ user=$1
 format=${2-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json list function
 json_list_cron() {

+ 1 - 1
bin/v_list_database

@@ -15,7 +15,7 @@ database=$2
 format=${3-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json function
 json_list_db() {

+ 1 - 1
bin/v_list_database_server

@@ -15,7 +15,7 @@ host=$2
 format=${3-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json function
 json_list_dbhost() {

+ 1 - 1
bin/v_list_database_servers

@@ -14,7 +14,7 @@ type=$1
 format=${2-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_list_databases

@@ -14,7 +14,7 @@ user=$1
 format=${2-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_list_dns_domain

@@ -16,7 +16,7 @@ domain=$2
 format=${3-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json function
 json_list_domain() {

+ 1 - 1
bin/v_list_dns_domain_records

@@ -15,7 +15,7 @@ domain=$2
 format=${3-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json func
 json_list_dns() {

+ 1 - 1
bin/v_list_dns_domains

@@ -14,7 +14,7 @@ user=$1
 format=${2-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_list_dns_template

@@ -14,7 +14,7 @@ template=$1
 format=${2-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 source $VESTA/func/domain.sh
 
 # Json func

+ 1 - 1
bin/v_list_dns_templates

@@ -13,7 +13,7 @@
 format=${1-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json function
 json_list_dnstpl() {

+ 1 - 1
bin/v_list_mail_account

@@ -16,7 +16,7 @@ account=$3
 format=${4-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json function
 json_list_account() {

+ 1 - 1
bin/v_list_mail_account_autoreply

@@ -16,7 +16,7 @@ account=$3
 format=${4-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json function
 json_list_msg() {

+ 1 - 1
bin/v_list_mail_accounts

@@ -15,7 +15,7 @@ domain=$2
 format=${3-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 
 #----------------------------------------------------------#

+ 1 - 1
bin/v_list_mail_domain

@@ -16,7 +16,7 @@ domain=$2
 format=${3-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json function
 json_list_domain() {

+ 1 - 1
bin/v_list_mail_domain_dkim

@@ -15,7 +15,7 @@ domain=$2
 format=${3-shell}
 
 # Includes
-source $VESTA/func/shared.sh
+source $VESTA/func/main.sh
 
 # Json function
 json_list_ssl() {

Некоторые файлы не были показаны из-за большого количества измененных файлов