ceph/debian/ceph.prerm
Sage Weil bbcbab448b Merge branch 'next'
Conflicts:
	debian/ceph.prerm
2013-05-21 08:26:57 -07:00

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