diff --git a/lib/services.sh b/lib/services.sh index 19126ef..98776b1 100644 --- a/lib/services.sh +++ b/lib/services.sh @@ -28,6 +28,7 @@ exec_serv() prnt I "Lancement de la commande $command du services $svcname" $lineexec } +export exec_serv # ------------------------------------------------------------------------------ diff --git a/lib/support.sh b/lib/support.sh index 94b8ac2..a80929b 100644 --- a/lib/support.sh +++ b/lib/support.sh @@ -66,6 +66,7 @@ Fichiers de configuration : EOF } +export -f disp_help # ------------------------------------------------------------------------------ @@ -85,6 +86,7 @@ show_version() echo -e "\n${BYellow}Attention :$DEFAULTCOL Ce script requiert les droits d'administration pour fonctionner." fi } +export -f show_version # ------------------------------------------------------------------------------ @@ -93,6 +95,7 @@ get_mod_name() { echo $(basename $1 | cut -f 1 -d '.') } +export -f get_mod_name # EOF diff --git a/lib/zzz_main_fct.sh b/lib/zzz_main_fct.sh index 1ab44a3..88fe50e 100644 --- a/lib/zzz_main_fct.sh +++ b/lib/zzz_main_fct.sh @@ -150,6 +150,7 @@ load_configuration() } export -f load_configuration + # ------------------------------------------------------------------------------ # Do deeper command line analysis to detect unconsistancies process_commandline_and_vars() @@ -196,4 +197,3 @@ process_commandline_and_vars() export -f process_commandline_and_vars # EOF -