]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
initscript: remove mon_addr generation
authorSage Weil <sage@newdream.net>
Thu, 12 Mar 2009 21:02:33 +0000 (14:02 -0700)
committerSage Weil <sage@newdream.net>
Thu, 12 Mar 2009 21:05:46 +0000 (14:05 -0700)
Not needed.

src/init-ceph

index fc1590680ecfb8a18d376a46fca33de3ebf5def1..7dc76981abd144c5829bc11ac2850ab694e1e8fd 100755 (executable)
@@ -116,18 +116,6 @@ done
 
 verify_conf
 
-# build mon_addr_arg with all mon addrs
-n=0
-mon_addr_arg=""
-while [ 1 ]; do
-    name="mon$n"
-    get_conf mon_addr "" "mon addr" $name "mon" "global"
-    [ "$mon_addr" == "" ] && break
-    mon_addr_arg="$mon_addr_arg -m $mon_addr"
-    n=$(($n + 1))
-done
-
-
 command=$1
 shift