blob: ad509223cbc59462fcebd8e2f1a855a8b3ca3ab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/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
|