Current File : //proc/self/root/usr/local/jetapps/usr/share/rear/wrapup/default/500_post_recovery_script.sh
# The POST_RECOVERY_COMMANDS are called directly after the POST_RECOVERY_SCRIPT
# so POST_RECOVERY_COMMANDS can also be used to clean up things after the POST_RECOVERY_SCRIPT:

if test "$POST_RECOVERY_SCRIPT" ; then
    LogPrint "Running POST_RECOVERY_SCRIPT '${POST_RECOVERY_SCRIPT[@]}'"
    eval "${POST_RECOVERY_SCRIPT[@]}"
fi

local command
for command in "${POST_RECOVERY_COMMANDS[@]}" ; do
    LogPrint "Running POST_RECOVERY_COMMANDS '$command'"
    eval "$command"
done