mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
ceph.sh: try to locate cconf
This commit is contained in:
parent
4651403f4a
commit
89f96071dc
@ -1,7 +1,8 @@
|
||||
|
||||
[ "$CCONF_BIN" == "" ] && CCONF_BIN=`dirname $0`/../bin/cconf
|
||||
|
||||
[ "$CCONF_BIN" == "" ] && CCONF_BIN=$CEPH_BIN/cconf
|
||||
[ -e $CCONF_BIN ] || CCONF_BIN=`dirname $0`/../bin/cconf
|
||||
[ -e $CCONF_BIN ] || CCONF_BIN=`dirname $0`/cconf
|
||||
[ -e $CCONF_BIN ] || CCONF_BIN=bin/cconf
|
||||
|
||||
get_val() {
|
||||
[ "$2" != "" ] && export $1=$2 || export $1=`$CCONF "$3" "$4" "$5"`
|
||||
|
Loading…
Reference in New Issue
Block a user