From: Sage Weil Date: Wed, 16 Mar 2011 05:21:06 +0000 (-0700) Subject: init-ceph: use consistent $type.$id naming X-Git-Tag: v0.26~122 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d7f6000b57b75532daf05666231feaf27408644d;p=ceph.git init-ceph: use consistent $type.$id naming Use $type.$id, regardless of what the user uses. Signed-off-by: Sage Weil --- diff --git a/src/init-ceph.in b/src/init-ceph.in index 528bdd9b42fc..d9fbaa9e00e1 100644 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -165,6 +165,7 @@ for name in $what; do type=`echo $name | cut -c 1-3` # e.g. 'mon', if $item is 'mon1' id=`echo $name | cut -c 4- | sed 's/\\.//'` num=$id + name="$type.$id" get_conf auto_start "" "auto start" if [ -z "$@" ] || [ "$@" = "mds" ]; then