diff options
-rwxr-xr-x | localnotifypwexp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/localnotifypwexp b/localnotifypwexp index 0d7845f..2ea686e 100755 --- a/localnotifypwexp +++ b/localnotifypwexp @@ -91,8 +91,10 @@ the account should be disabled or deleted.' # ### END MAIL TEMPLATES ### # allow overrides (especially userbodytemplate) -declare -r localconfig=/etc/local/notifypwexp -if [ -r /etc/default/$localconfig ]; then . /etc/default/$localconfig; fi +declare -r orgconfig=local-ORG/notifypwexp +declare -r hostconfig=local/notifypwexp +[ ! -r /etc/$orgconfig ] || . /etc/$orgconfig +[ ! -r /etc/$hostconfig ] || . /etc/$hostconfig # get real users users=$($awkprog -F: -v uidfield=$uidfield \ |