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

    *)
	;;
esac

#DEBHELPER#

exit 0