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