diff options
Diffstat (limited to 'debian/ceph-osd.prerm')
-rw-r--r-- | debian/ceph-osd.prerm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/ceph-osd.prerm b/debian/ceph-osd.prerm new file mode 100644 index 000000000..40f07b621 --- /dev/null +++ b/debian/ceph-osd.prerm @@ -0,0 +1,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 |