summaryrefslogtreecommitdiffstats
path: root/src/ceph/debian/ceph-mds.prerm
blob: 654518a7d5526d5e68cabb912a800f6e19d82783 (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-mds-all || :
	invoke-rc.d ceph stop mds || {
	    RESULT=$?
	    if [ $RESULT != 100 ]; then
		exit $RESULT
	    fi
	}
	;;

    *)
	;;
esac

#DEBHELPER#

exit 0