]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
sysvinit: fix enumeration of local daemons when specifying type only
authorSage Weil <sage@inktank.com>
Fri, 17 May 2013 03:37:05 +0000 (20:37 -0700)
committerSage Weil <sage@inktank.com>
Fri, 17 May 2013 03:39:32 +0000 (20:39 -0700)
commitc80c6a032c8112eab4f80a01ea18e1fa2c7aa6ed
treee4ffe2e09c932360ff860a5c8939db936db7bd43
parentd8d7113c35b59902902d487738888567e3a6b933
sysvinit: fix enumeration of local daemons when specifying type only

- prepend $local to the $allconf list at the top
- remove $local special case for all case
- fix the type prefix checks to explicitly check for prefixes

Fugly bash, but works!

Backport: cuttlefish, bobtail
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
src/ceph_common.sh
src/init-ceph.in