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

Add missing shellcheck headers to v-scripts

Kristan Kenney 5 лет назад
Родитель
Сommit
e6a3199c83

+ 3 - 0
bin/v-add-firewall-chain

@@ -31,8 +31,11 @@ if [ -z "$hestiaport" ]; then
 fi
 
 # Includes
+# shellcheck /usr/local/hestia/func/main.sh
 source $HESTIA/func/main.sh
+# shellcheck /usr/local/hestia/func/firewall.sh
 source $HESTIA/func/firewall.sh
+# shellcheck /usr/local/hestia/conf/hestia.conf
 source $HESTIA/conf/hestia.conf
 
 

+ 2 - 0
bin/v-log-action

@@ -13,7 +13,9 @@
 
 
 # Includes
+# shellcheck /usr/local/hestia/func/main.sh
 source $HESTIA/func/main.sh
+# shellcheck /usr/local/hestia/conf/hestia.conf
 source $HESTIA/conf/hestia.conf
 
 #----------------------------------------------------------#

+ 2 - 0
bin/v-restore-cron-job

@@ -19,7 +19,9 @@ cronjob=$3
 notify=$4
 
 # Includes
+# shellcheck /usr/local/hestia/func/main.sh
 source $HESTIA/func/main.sh
+# shellcheck /usr/local/hestia/conf/hestia.conf
 source $HESTIA/conf/hestia.conf
 
 # Perform verification if read-only mode is enabled

+ 2 - 0
bin/v-restore-database

@@ -19,7 +19,9 @@ database=$3
 notify=$4
 
 # Includes
+# shellcheck /usr/local/hestia/func/main.sh
 source $HESTIA/func/main.sh
+# shellcheck /usr/local/hestia/conf/hestia.conf
 source $HESTIA/conf/hestia.conf
 
 # Perform verification if read-only mode is enabled

+ 2 - 0
bin/v-restore-dns-domain

@@ -19,7 +19,9 @@ domain=$3
 notify=$4
 
 # Includes
+# shellcheck /usr/local/hestia/func/main.sh
 source $HESTIA/func/main.sh
+# shellcheck /usr/local/hestia/conf/hestia.conf
 source $HESTIA/conf/hestia.conf
 
 # Perform verification if read-only mode is enabled

+ 2 - 0
bin/v-restore-mail-domain

@@ -19,7 +19,9 @@ domain=$3
 notify=$4
 
 # Includes
+# shellcheck /usr/local/hestia/func/main.sh
 source $HESTIA/func/main.sh
+# shellcheck /usr/local/hestia/conf/hestia.conf
 source $HESTIA/conf/hestia.conf
 
 # Perform verification if read-only mode is enabled

+ 2 - 0
bin/v-restore-web-domain

@@ -19,7 +19,9 @@ domain=$3
 notify=$4
 
 # Includes
+# shellcheck /usr/local/hestia/func/main.sh
 source $HESTIA/func/main.sh
+# shellcheck /usr/local/hestia/conf/hestia.conf
 source $HESTIA/conf/hestia.conf
 
 # Perform verification if read-only mode is enabled