diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-09-14 14:14:03 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-09-14 14:14:03 +1000 |
commit | c62490569b81408a7577234434663a072059c798 (patch) | |
tree | 116c1ba35f8dd99f5c284ea85250ca781ff8d1cd /ctdb/config/functions | |
parent | 305f432e50d5fe764d7efa8a2c0018f46bff969a (diff) | |
download | samba-c62490569b81408a7577234434663a072059c798.tar.gz samba-c62490569b81408a7577234434663a072059c798.tar.xz samba-c62490569b81408a7577234434663a072059c798.zip |
cope with non-standard install dirs in event scripts
(This used to be ctdb commit 52fff5345873690a9cc86495f414343eaa3bd540)
Diffstat (limited to 'ctdb/config/functions')
-rw-r--r-- | ctdb/config/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/config/functions b/ctdb/config/functions index f7ffd01079..3c39addc02 100644 --- a/ctdb/config/functions +++ b/ctdb/config/functions @@ -8,8 +8,8 @@ loadconfig() { . /etc/sysconfig/$name elif [ -f /etc/default/$name ]; then . /etc/default/$name - elif [ -f /etc/ctdb/sysconfig/$name ]; then - . /etc/ctdb/sysconfig/$name + elif [ -f $CTDB_BASE/sysconfig/$name ]; then + . $CTDB_BASE/sysconfig/$name fi } |