mirror of
https://github.com/ceph/ceph
synced 2024-12-23 11:54:11 +00:00
24 lines
262 B
Plaintext
24 lines
262 B
Plaintext
|
#!/bin/sh
|
||
|
# vim: set noet ts=8:
|
||
|
|
||
|
set -e
|
||
|
|
||
|
case "$1" in
|
||
|
remove)
|
||
|
[ -x /sbin/stop ] && stop ceph-mon-all || true
|
||
|
invoke-rc.d ceph stop mon || {
|
||
|
RESULT=$?
|
||
|
if [ $RESULT != 100 ]; then
|
||
|
exit $RESULT
|
||
|
fi
|
||
|
}
|
||
|
;;
|
||
|
|
||
|
*)
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
#DEBHELPER#
|
||
|
|
||
|
exit 0
|