From f43fca1a9885003695496033df18792d0f8e76f9 Mon Sep 17 00:00:00 2001 From: Daniel Dehennin Date: Wed, 14 Oct 2020 13:52:41 +0200 Subject: [PATCH] Don't modify /etc/hosts on ScribeAD Ref: #30852 --- posttemplate/70-lemonldap-ng-hosts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/posttemplate/70-lemonldap-ng-hosts b/posttemplate/70-lemonldap-ng-hosts index 1488f3d..559b5c0 100755 --- a/posttemplate/70-lemonldap-ng-hosts +++ b/posttemplate/70-lemonldap-ng-hosts @@ -1,5 +1,8 @@ #!/bin/bash +# Don't run on ScribeAD +[ ! -f /usr/lib/eole/eolead.sh ] || exit 0 + ENABLE=$(CreoleGet activerLemon 'non') HOSTS="/etc/hosts"