From: Martin Schwenke Date: Wed, 4 Apr 2018 09:00:56 +0000 (+1000) Subject: ctdb-scripts: Drop unused variable service_config X-Git-Tag: ldb-1.4.0~521 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26430ab1d1d5edb64cd6c9fe279e5beb264a1c38;p=thirdparty%2Fsamba.git ctdb-scripts: Drop unused variable service_config This was previously used by the loadconfig() function. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/config/events.d/31.clamd b/ctdb/config/events.d/31.clamd index 1049c3bdd47..e073608e995 100755 --- a/ctdb/config/events.d/31.clamd +++ b/ctdb/config/events.d/31.clamd @@ -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 diff --git a/ctdb/config/events.d/41.httpd b/ctdb/config/events.d/41.httpd index 73b8d0fdd73..4030d7cc3bb 100755 --- a/ctdb/config/events.d/41.httpd +++ b/ctdb/config/events.d/41.httpd @@ -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