export more functions (can be used un subshell or interactive internal shell)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user