#!/usr/bin/sh

. "${PM_FUNCTIONS}"

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

exit $?
