diff options
Diffstat (limited to 'ctdb/config/ctdb.init')
| -rwxr-xr-x | ctdb/config/ctdb.init | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ctdb/config/ctdb.init b/ctdb/config/ctdb.init index 581844d34c..372affba71 100755 --- a/ctdb/config/ctdb.init +++ b/ctdb/config/ctdb.init @@ -214,16 +214,6 @@ EOF done } -set_ctdb_variables () { - # set any tunables from the config file - set | grep ^CTDB_SET_ | cut -d_ -f3- | - while read v; do - varname=`echo $v | cut -d= -f1` - value=`echo $v | cut -d= -f2` - ctdb setvar $varname $value || RETVAL=1 - done || exit 1 -} - set_retval() { return $1 } @@ -304,9 +294,7 @@ start() { esac if [ $RETVAL -eq 0 ] ; then - if wait_until_ready ; then - set_ctdb_variables - else + if ! wait_until_ready ; then RETVAL=1 pkill -9 -f $ctdbd >/dev/null 2>&1 fi |
