#!/bin/sh
#
# ###################################################################
# Copyright (c) 2005-2011, EMC Corporation. All Rights Reserved.
#
# /etc/init.d/PowerMigRecoverAll
# This file is a part of EMC PowerPath.
#
# chkconfig: - 
# description: Runs PowerPath Migration Enabler recovery during shutdown 
#
# ###################################################################
#
### BEGIN INIT INFO
# Provides:          PowerMigRecoverAll
# Required-Start:
# Required-Stop:
# Default-Start:      
# Default-Stop:      
# Description:       PowerMigRecoverAll -- Runs PowerPath Migration Enabler \ 
#                    recovery during shutdown
### END INIT INFO


PATH=/usr/bin/:/bin:/sbin:/usr/sbin

case "$1" in
    start)
        ;;

    stop)
        /sbin/powermig recover -all -no > /dev/null 2>&1
        ;;
    *)
        ;;
esac

