~tribaal/ubuntu/trusty/ceph/ceph-zap-in-two-phases

« back to all changes in this revision

Viewing changes to debian/ceph.prerm

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-05-19 21:04:18 UTC
  • Revision ID: package-import@ubuntu.com-20130519210418-053rk70dzn5z0a6r
Tags: 0.61.2-0ubuntu2
* Fix ceph-test package:
  - d/ceph-test.install: Add missing install file.
  - d/rules: Enable --with-debug option to build test executables.
  - d/p/fix_test_ftbfs.patch: Fix format-security errors.
* Fix rbd-fuse package:
  - d/rbd-fuse.install: Add missing install file.
* d/ceph.install: Include missing udev rule for ceph-osd disks.
* d/rules: Drop --with-system-leveldb as this is now the default.
* d/control,rules: Review and further re-sync with upstream packaging.
* d/ceph.{postinst,prerm}: start/stop ceph-all upstart configuration
  if upstart is in use.
* d/ceph-mds.{postinst,prerm}: start/stop ceph-mds-all upstart configuration
  if upstart is in use.
* d/p/python_rados_cluster_stat.patch: Dropped - included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# vim: set noet ts=8:
 
3
 
 
4
set -e
 
5
 
 
6
invoke-rc.d ceph-all stop || {
 
7
        RESULT=$?
 
8
        # Ignore if ceph-all upstart config does not
 
9
        # exist or upstart is not in use
 
10
        if [ $RESULT != 100 ]; then
 
11
                exit $RESULT
 
12
        fi
 
13
}
 
14
 
 
15
#DEBHELPER#
 
16
 
 
17
exit 0