X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fdebian%2Fceph-base.prerm;fp=src%2Fceph%2Fdebian%2Fceph-base.prerm;h=bfd7d3d6fb2758f8ed915de0b92ca83c8afa9b68;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/debian/ceph-base.prerm b/src/ceph/debian/ceph-base.prerm new file mode 100644 index 0000000..bfd7d3d --- /dev/null +++ b/src/ceph/debian/ceph-base.prerm @@ -0,0 +1,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