#!/bin/sh

. /usr/share/pm-utils/functions

case "$1" in
	hibernate|suspend)
		stopservice mysqld
		;;
	thaw|resume)
		restartservice mysqld
		;;
	*)
		;;
esac

exit $?
