summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2020-02-26 11:10:46 +0530
committerMartin Schwenke <martins@samba.org>2020-02-27 06:07:41 +0000
commit512fa29cce9b7c2ab7ce625149eff7e7f2fd7eb7 (patch)
treeeafd3aa253adaed18bfc4fa1fde1bf4a5d1509d8 /ctdb
parent26e1556819fd061efaac88875980771d1ebeb727 (diff)
downloadsamba-512fa29cce9b7c2ab7ce625149eff7e7f2fd7eb7.tar.gz
ctdb-scripts: Change CTDB_SERVICE_NMB default value to 'nmb'
Till now 50.samba script was based on RHEL versions <=6 where we didn't have separate start up script for nmb and smbd used to start nmbd when required. Now that nmbd has its own start up script named "nmb" it is reasonable to have "nmb" as default value for CTDB_SERVICE_NMB inside new 48.netbios ctdb script. Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb')
-rwxr-xr-xctdb/config/events/legacy/48.netbios.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events/legacy/48.netbios.script b/ctdb/config/events/legacy/48.netbios.script
index bc4b9cb0ba9..d2cbf983b6a 100755
--- a/ctdb/config/events/legacy/48.netbios.script
+++ b/ctdb/config/events/legacy/48.netbios.script
@@ -17,7 +17,7 @@ case $CTDB_INIT_STYLE in
;;
*)
# Use redhat style as default:
- CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-""}
+ CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb}
;;
esac