git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctdb-scripts: Use load_script_options() in miscellaneous scripts
[samba.git]
/
ctdb
/
config
/
ctdb-crash-cleanup.sh
diff --git
a/ctdb/config/ctdb-crash-cleanup.sh
b/ctdb/config/ctdb-crash-cleanup.sh
index 8f4cc8645661c2ff9bcfa2fd2d2306da773393c5..896a90cda982baf32f70f5d9f7e3a63586424749 100755
(executable)
--- a/
ctdb/config/ctdb-crash-cleanup.sh
+++ b/
ctdb/config/ctdb-crash-cleanup.sh
@@
-14,7
+14,7
@@
if service ctdb status >/dev/null 2>&1 ; then
exit 0
fi
-load
config
+load
_script_options "failover" "11.natgw"
if [ ! -f "$CTDB_BASE/public_addresses" ] ; then
die "No public addresses file found. Can't clean up."