ctdb-scripts: Rename variable CTDB_ETCDIR to CTDB_SYS_ETCDIR
[obnox/samba/samba-obnox.git] / ctdb / tests / eventscripts / stubs / testparm
index 692db45a49d8c9129bc0023d0f454ca508727227..0473bbf4ea23b59aae3e0a221afa4817dfb8f58e 100755 (executable)
@@ -9,7 +9,7 @@ not_implemented ()
 error ()
 {
     cat >&2 <<EOF
-Load smb config files from ${CTDB_ETCDIR}/samba/smb.conf
+Load smb config files from ${CTDB_SYS_ETCDIR}/samba/smb.conf
 rlimit_max: increasing rlimit_max (2048) to minimum Windows limit (16384)
 EOF
 
@@ -68,7 +68,7 @@ if [ -n "$file" ] ; then
     cat "$file"
 else
     # We force our own smb.conf and add the shares.
-    cat "${CTDB_ETCDIR}/samba/smb.conf"
+    cat "${CTDB_SYS_ETCDIR}/samba/smb.conf"
 
     for i in $FAKE_SHARES ; do
        bi=$(basename "$i")