File forget in last commit (add common_functions)
This commit is contained in:
parent
d12fa92261
commit
b6f0d82f6b
|
@ -53,6 +53,9 @@ export PING_FAILED=""
|
|||
# Get ALL locales IPs except loopback
|
||||
export LOCALES_IP_WITHOUT_LOOPBACK=$(ip addr show scope global | awk '/inet/ { sub(/\/.*$/, "", $2); print $2 }' | sort | uniq)
|
||||
|
||||
export IPV6_ADMIN_LAN_IP=$(echo ${LOCALES_IP_WITHOUT_LOOPBACK} | tr " " "\n" | grep ^${IPV6_ADMIN_NETWORK})
|
||||
export IPV4_ADMIN_LAN_IP=$(echo ${LOCALES_IP_WITHOUT_LOOPBACK} | tr " " "\n" | grep ^${IPV4_ADMIN_NETWORK})
|
||||
|
||||
export BOOL_ADMIN_IPV4_NOT_CONFIGURED=0
|
||||
export BOOL_ADMIN_IPV6_NOT_CONFIGURED=0
|
||||
|
||||
|
@ -98,15 +101,15 @@ if [ $1 ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
echo "-------------------------------------------------"
|
||||
echo -e "------- ${BLUE}RECIPE GENTOO - CHECK BASIC CONFIG${NC} ------"
|
||||
echo -e "-------------------------------------------------\n"
|
||||
. recipes/common_functions.sh
|
||||
|
||||
print_config_title 'RECIPE GENTOO - CHECK BASIC CONFIG'
|
||||
|
||||
# Voir pour mettre ./ à la place de .
|
||||
|
||||
#. recipes/recipe_check_packages.sh
|
||||
|
||||
#. recipes/recipe_check_hostname.sh
|
||||
. recipes/recipe_check_hostname.sh
|
||||
|
||||
#. recipes/recipe_check_dns_config.sh
|
||||
|
||||
|
@ -116,7 +119,7 @@ echo -e "-------------------------------------------------\n"
|
|||
|
||||
#. recipes/recipe_check_services.sh
|
||||
|
||||
#. recipes/recipe_check_ssh_config.sh
|
||||
. recipes/recipe_check_ssh_config.sh
|
||||
|
||||
#. recipes/recipe_check_nrpe_config.sh
|
||||
|
||||
|
@ -124,11 +127,11 @@ echo -e "-------------------------------------------------\n"
|
|||
|
||||
#. recipes/recipe_check_snmp_config.sh
|
||||
|
||||
. recipes/recipe_check_mail_alias_config.sh
|
||||
#. recipes/recipe_check_mail_alias_config.sh
|
||||
|
||||
. recipes/recipe_check_postfix_protocol_config.sh
|
||||
#. recipes/recipe_check_postfix_protocol_config.sh
|
||||
|
||||
. recipes/recipe_check_ipam_config.sh
|
||||
#. recipes/recipe_check_ipam_config.sh
|
||||
|
||||
. recipes/recipe_final_summary.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue