]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: use ceph-detect-init instead of hard coded values 4532/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 1 May 2015 14:46:48 +0000 (16:46 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 5 May 2015 23:54:36 +0000 (01:54 +0200)
commit69248bc4bf162e4f208192c8f5abf5e0fe197890
treee5aed81290387239515a240068b98fae4389bad3
parent1dad037532cc68d219f57992b6aee72b6f7377da
ceph-disk: use ceph-detect-init instead of hard coded values

The ceph-detect-init implements the same detection logic as ceph-deploy.
It is better than the current hardcoded values that assume Ubuntu is
upstart and all the rest is sysvinit.

Signed-off-by: Owen Synge <osynge@suse.com>
Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/ceph-disk
src/test/ceph-disk.sh