diff options
Diffstat (limited to '')
-rwxr-xr-x | bin/ceph-info | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ceph-info b/bin/ceph-info index 845e306..8fa4c8f 100755 --- a/bin/ceph-info +++ b/bin/ceph-info @@ -1,7 +1,6 @@ #!/bin/sh -# storage-tools - Additional utilities to manage storage related tasks -# Copyright (C) 2014-2017 Daniel Baumann <daniel.baumann@open-infrastructure.net> +# Copyright (C) 2014-2019 Daniel Baumann <daniel.baumann@open-infrastructure.net> # # SPDX-License-Identifier: GPL-3.0+ # @@ -20,12 +19,13 @@ set -e +PROJECT="open-infrastructure" SOFTWARE="storage-tools" PROGRAM="ceph-info" -if [ -e "/etc/default/${SOFTWARE}" ] +if [ -e "/etc/${PROJECT}/ceph-tools.conf" ] then - . "/etc/default/${SOFTWARE}" + . "/etc/${PROJECT}/ceph-tools.conf" fi case "${CEPH_INFO}" in |