Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / debian / ceph-mgr.prerm
1 #!/bin/sh
2 # vim: set noet ts=8:
3
4 set -e
5
6 case "$1" in
7     remove)
8         [ -x /sbin/stop ] && stop ceph-mgr-all || :
9         invoke-rc.d ceph stop mgr || {
10             RESULT=$?
11             if [ $RESULT != 100 ]; then
12                 exit $RESULT
13             fi
14         }
15         ;;
16
17     *)
18         ;;
19 esac
20
21 #DEBHELPER#
22
23 exit 0