diff --git a/bin/expl_create_vhost.sh b/bin/expl_create_vhost.sh index 1bc8c90..a9e2806 100755 --- a/bin/expl_create_vhost.sh +++ b/bin/expl_create_vhost.sh @@ -64,7 +64,6 @@ ## ## Remarque importante: Ce script n'active *PAS* le virtualhost et ne redémarre *PAS* les serveurs Apache. ## -##----------------------------------------------------------------------------------------------------------------- #------------------------------------------------------------------------------------------------------------------ # Initialisation de l'environement #------------------------------------------------------------------------------------------------------------------ @@ -235,9 +234,9 @@ function add_domain fi } -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Traitement -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ check_port check_templates diff --git a/bin/expl_deploy_socle.sh b/bin/expl_deploy_socle.sh index 5206cf3..4ecd111 100755 --- a/bin/expl_deploy_socle.sh +++ b/bin/expl_deploy_socle.sh @@ -1,5 +1,5 @@ #!/bin/bash -##---------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Script : expl_deploy_socle.sh # Auteur : Doug Le Tough # Date : 22-07-2017 @@ -8,27 +8,27 @@ # sur la VM dont le nom est passé en option # # -# ---------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Mise a jour : # # 1.0.0 22/07/2017 - Doug Le Tough - Cre : Mise en production # -# ---------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Dependances : Aucune # # -# ---------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Liste des options et arguments: # # @OPT: o:vm:vm:1/1:::: # @OPT: o:socle_dir:socle_dir:1/1:::: # -# ---------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Liste des erreurs: # # 2 | erreur | stop | ${ERROR} # -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ ## ## Syntaxe : ## -------- @@ -44,10 +44,9 @@ ## Installe le socle Bash à partir du répertoire passée en paramètre (socle_dir) sur la VM ## dont le nom est recu en paramètre. ## -##---------------------------------------------------------------------- -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Initialisation de l'environement -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ if [ "${USER}" != "asr" ]; then ERROR="Seul l'utilisateur asr peut utiliser ce script" @@ -65,9 +64,9 @@ fi source ${NC_EXPL_CFG}/init.conf -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Fonctions -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ function check_socle_dir { @@ -110,9 +109,9 @@ function install_socle fi } -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Traitement -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ check_socle_dir rm_socle_dir diff --git a/bin/expl_transfert_dir.sh b/bin/expl_transfert_dir.sh index 13c1f95..abb1c79 100755 --- a/bin/expl_transfert_dir.sh +++ b/bin/expl_transfert_dir.sh @@ -67,7 +67,6 @@ ## Les options -dst_user, -dst_group et -dst_mode permettent de gérer les droits et permissions sur le ## répertoire copié ## -##----------------------------------------------------------------------------------------------------------------- #------------------------------------------------------------------------------------------------------------------ # Initialisation de l'environement #------------------------------------------------------------------------------------------------------------------ @@ -88,13 +87,9 @@ fi source ${NC_EXPL_CFG}/init.conf - - -################################################################################## -# -# Main -# -################################################################################## +#------------------------------------------------------------------------------------------------------------------ +# Fonctions +#------------------------------------------------------------------------------------------------------------------ function check_hosts { @@ -242,9 +237,9 @@ function rm_archives } -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ # Traitement -#----------------------------------------------------------------------- +#------------------------------------------------------------------------------------------------------------------ ROOT_SRC_DIR=$(dirname ${src_dir}) BASE_SRC_DIR=$(basename ${src_dir})