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

    *)
	;;
esac

#DEBHELPER#

exit 0