summaryrefslogtreecommitdiffstats
path: root/src/ceph/debian/ceph-mon.prerm
blob: 5f64058a5da1102854796c5434b30fe5a12d5399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# vim: set noet ts=8:

set -e

case "$1" in
    remove)
	[ -x /sbin/stop ] && stop ceph-mon-all || true
	invoke-rc.d ceph stop mon || {
	    RESULT=$?
	    if [ $RESULT != 100 ]; then
		exit $RESULT
	    fi
	}
	;;

    *)
	;;
esac

#DEBHELPER#

exit 0