summaryrefslogtreecommitdiff
path: root/src/ceph_common.sh
diff options
context:
space:
mode:
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-02-22 08:48:53 -0800
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-02-23 10:17:30 -0800
commit29b643910462f1e5d04abb35b6c2853db5be7cc4 (patch)
tree007b1b382fbe7ba268ab447f3bf312ec41d9edaa /src/ceph_common.sh
parent431a5bf7c392f409a65b4e76ca251dd40afaeef1 (diff)
downloadceph-29b643910462f1e5d04abb35b6c2853db5be7cc4.tar.gz
ceph_common.sh: remove get_val, get_val_bool
get_val and get_val_bool are unused. Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'src/ceph_common.sh')
-rw-r--r--src/ceph_common.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/ceph_common.sh b/src/ceph_common.sh
index fa3f867c790..f8567f8b269 100644
--- a/src/ceph_common.sh
+++ b/src/ceph_common.sh
@@ -140,25 +140,6 @@ get_name_list() {
done
}
-
-get_val() {
- [ -n "$2" ] && export $1=$2 || export $1=`$CCONF -c $conf "$3" "$4" "$5"`
-}
-
-get_val_bool() {
- if [ -n "$2" ]; then
- export $1=$2
- else
- tmp=`$CCONF "$3" "$4" "$5"`
- export $1=$5
-
- [ "$tmp" = "0" ] && export $1=0
- [ "$tmp" = "false" ] && export $1=0
- [ "$tmp" = "1" ] && export $1=1
- [ "$tmp" = "true" ] && export $1=1
- fi
-}
-
get_conf() {
var=$1
def=$2