if [ "$1" == "pre-backup" ]; then exit fi if [ "$1" == "pre-backup" ]; then exit fi if [ "$1" == "pre-restore" ]; then # kill the running plugins that need to be overwritten pkill plugins fi if [ "$1" == "post-restore" ]; then mmctl config reload --local fi