mirror of
https://github.com/ceph/ceph
synced 2025-01-13 06:22:51 +00:00
bbcbab448b
Conflicts: debian/ceph.prerm
25 lines
323 B
Bash
25 lines
323 B
Bash
#!/bin/sh
|
|
# vim: set noet ts=8:
|
|
|
|
set -e
|
|
|
|
invoke-rc.d ceph-all stop || {
|
|
RESULT=$?
|
|
# Ignore if ceph-all upstart config does not
|
|
# exist or upstart is not in use
|
|
if [ $RESULT != 100 ]; then
|
|
exit $RESULT
|
|
fi
|
|
}
|
|
|
|
invoke-rc.d ceph stop || {
|
|
RESULT=$?
|
|
if [ $RESULT != 100 ]; then
|
|
exit $RESULT
|
|
fi
|
|
}
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|