mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
ctdb: use properly configured ctdb in 00.ctdb
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
09d8fe7293
commit
6d2d6a3786
@ -107,7 +107,7 @@ set_ctdb_variables ()
|
||||
while read v; do
|
||||
varname="${v#CTDB_SET_}"
|
||||
value=$(eval echo "\$$v")
|
||||
if ctdb setvar $varname $value ; then
|
||||
if $CTDB setvar $varname $value ; then
|
||||
echo "Set $varname to $value"
|
||||
else
|
||||
echo "Invalid configuration: CTDB_SET_${varname}=${value}"
|
||||
@ -140,7 +140,7 @@ case "$1" in
|
||||
;;
|
||||
|
||||
startup)
|
||||
ctdb attach ctdb.tdb persistent
|
||||
$CTDB attach ctdb.tdb persistent
|
||||
;;
|
||||
|
||||
*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user