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:
parent
dbc6ebc624
commit
26430ab1d1
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user