summaryrefslogtreecommitdiff
path: root/ctdb/tools/ctdb_natgw
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-04-04 19:16:57 +1000
committerAmitay Isaacs <amitay@samba.org>2018-05-12 06:11:17 +0200
commitac1c12b5a21ed2666478817b377acf8f5aa48644 (patch)
tree1154e0d0627c49dab9ded8be8bd763e5c9d8ed57 /ctdb/tools/ctdb_natgw
parent02444e5f479f2d9705de93006916d9cd1333f21c (diff)
downloadsamba-ac1c12b5a21ed2666478817b377acf8f5aa48644.tar.gz
ctdb-scripts: Use load_script_options() in miscellaneous scripts
Some of these just aim to load the generic script.options file while others target more specific files. For NFS configuration, always use 60.nfs.options - even for 06.nfs. This could be carefully documented but will change a lot before release so there is no need. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/tools/ctdb_natgw')
-rwxr-xr-xctdb/tools/ctdb_natgw2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tools/ctdb_natgw b/ctdb/tools/ctdb_natgw
index 21744ddfd0f..d37b9f7c0b9 100755
--- a/ctdb/tools/ctdb_natgw
+++ b/ctdb/tools/ctdb_natgw
@@ -6,7 +6,7 @@ fi
. "${CTDB_BASE}/functions"
-loadconfig
+load_script_options "failover" "11.natgw"
# Default NAT gateway nodes file location
[ -n "$CTDB_NATGW_NODES" ] || CTDB_NATGW_NODES="${CTDB_BASE}/natgw_nodes"