From 232c701946158c680aa751c8430bacceb59f56a0 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Fri, 13 Mar 2020 11:54:51 +0100 Subject: [PATCH] =?UTF-8?q?Ne=20rien=20faire=20si=20activer=5Fcadolesldap?= =?UTF-8?q?=20est=20=C3=A0=20"non"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- posttemplate/91-cadolesldap | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/posttemplate/91-cadolesldap b/posttemplate/91-cadolesldap index 9df89b8..379fdf0 100755 --- a/posttemplate/91-cadolesldap +++ b/posttemplate/91-cadolesldap @@ -38,5 +38,10 @@ function main() fi } -main $@ -exit ${?} +if [[ $(CreoleGet activer_cadolesldap non) == "oui" ]] +then + main $@ + exit ${?} +else + exit 0 +fi