#!/bin/bash
# Copyright (C) 2005 McAfee Inc. All rights reserved.

. /var/NAIENV/.profile.vars

# See how we were called.
case "$1" in

  (start)
	${WSMGMT}/imapcheck > /dev/null 2>&1 &
	;;

  (restart|reload)
	stop
	start
	;;

  (stop)
	/sbin/fuser -k ${WSMGMT}/imapcheck
    	;;

esac
exit 0
