diff --git a/ceph/ceph-mon-stop-delete b/ceph/ceph-mon-stop-delete index 1246a96..c40e58b 100755 --- a/ceph/ceph-mon-stop-delete +++ b/ceph/ceph-mon-stop-delete @@ -1,11 +1,12 @@ #!/bin/sh -if [ $# -ne 0 ]; then - echo "$0 (no arguments" +if [ $# -ne 1 ]; then + echo "$0 " + echo "f.i. $0 serverX" exit 1 fi -mon=mon.$(hostname) +mon=mon.$1 # Starting with monit, if available if [ -e /etc/monit ]; then