post-thaw-script (MongoDB)

Updated

#!/bin/sh

if [ "$(id -u)" -eq "0" ]; then

exec /opt/cv_mongodb_snap/unquiescescript.sh &>> /opt/cv_mongodb_snap/logfile

fi

status=$?

if [[ ! $status -eq 0 ]]

then

exit 1

fi

exit 0