export more functions (can be used un subshell or interactive internal shell)

This commit is contained in:
levasseur
2021-09-21 14:50:06 +02:00
parent fc2cecab82
commit dd51a48869
3 changed files with 5 additions and 1 deletions

View File

@@ -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