2013-03-12 00:09:37 +00:00
|
|
|
#!/bin/sh
|
2013-05-21 08:20:53 +00:00
|
|
|
# vim: set noet ts=8:
|
2013-03-12 00:09:37 +00:00
|
|
|
|
2013-05-21 08:20:53 +00:00
|
|
|
set -e
|
2013-03-12 00:09:37 +00:00
|
|
|
|
2013-05-30 15:51:16 +00:00
|
|
|
case "$1" in
|
|
|
|
remove)
|
2013-05-30 15:53:05 +00:00
|
|
|
invoke-rc.d ceph stop mds || {
|
|
|
|
RESULT=$?
|
2013-05-30 15:51:16 +00:00
|
|
|
if [ $RESULT != 100 ]; then
|
2013-05-21 08:20:53 +00:00
|
|
|
exit $RESULT
|
2013-05-30 15:51:16 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
;;
|
|
|
|
esac
|
2013-05-21 08:20:53 +00:00
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|