]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
if we dont have /etc/sysconfig and we dont have /etc/default
authorRonnie Sahlberg <sahlberg@ronnie>
Sat, 14 Jul 2007 23:13:50 +0000 (09:13 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Sat, 14 Jul 2007 23:13:50 +0000 (09:13 +1000)
check /etc/ctdb/sysconfig as a last option

(This used to be ctdb commit 1043929ceb0cd04ab6466e9a5d7d52f9af1cb8e8)

ctdb/config/functions

index f28fc5aa23abb7822d0ee8eed2dd140138776e58..1a6fc5c0c780617a52bcbdb941a05baaaa8bdf93 100644 (file)
@@ -8,6 +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
     fi
 }