1.0.82 does nto have the getreclock command, so just use the variable from the syscon...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 29 Oct 2009 03:11:57 +0000 (14:11 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 29 Oct 2009 03:11:57 +0000 (14:11 +1100)
config/events.d/01.reclock

index 911f7dc9f847afb7569565215909f89bcb7ddec3..0f866ef2862625174595917635a65d0bebe4e0d1 100755 (executable)
@@ -30,7 +30,7 @@ case $cmd in
                ctdb shutdown
        }
 
-       RECLOCKFILE=`ctdb -Y getreclock`
+       RECLOCKFILE=$CTDB_RECOVERY_LOCK
        [ -z "$RECLOCKFILE" ] && {
                # we are not using a reclock file
                echo -n > $RECLOCKCOUNT