mirror of
https://github.com/ceph/ceph
synced 2024-12-22 19:34:30 +00:00
cf9aa7a003
Sigh. Signed-off-by: Sage Weil <sage@inktank.com>
24 lines
259 B
Bash
24 lines
259 B
Bash
#!/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
|