1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-scripts: Drop unused variable service_config

This was previously used by the loadconfig() function.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2018-04-04 19:00:56 +10:00 committed by Amitay Isaacs
parent dbc6ebc624
commit 26430ab1d1
2 changed files with 0 additions and 12 deletions

View File

@ -11,15 +11,9 @@ detect_init_style
case $CTDB_INIT_STYLE in
redhat)
service_name="clamd"
# service_config is used by loadconfig()
# shellcheck disable=SC2034
service_config="clamd"
;;
*)
service_name="clamav"
# service_config is used by loadconfig()
# shellcheck disable=SC2034
service_config="clamav"
;;
esac

View File

@ -11,15 +11,9 @@ detect_init_style
case $CTDB_INIT_STYLE in
redhat)
service_name="httpd"
# service_config is used by loadconfig()
# shellcheck disable=SC2034
service_config="http"
;;
suse|debian|*)
service_name="apache2"
# service_config is used by loadconfig()
# shellcheck disable=SC2034
service_config="apache2"
;;
esac