summaryrefslogtreecommitdiff
path: root/doc/sync/primary-backup.sh
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-08-02 19:37:33 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-08-02 19:37:33 +0200
commiteea95300f89a13cefdbe4b0e28ddbf88779a4bbf (patch)
treec40698b73342baa0105bdc2efe40e9773518ce6a /doc/sync/primary-backup.sh
parent16010f777b090b293a00072d8368e94418cc99f8 (diff)
downloadconntrack-tools-eea95300f89a13cefdbe4b0e28ddbf88779a4bbf.tar.gz
conntrack-tools-eea95300f89a13cefdbe4b0e28ddbf88779a4bbf.zip
fix missing updates in the example files
Fix missing updates in keepalived.conf and primary-backup.sh Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/sync/primary-backup.sh')
-rwxr-xr-xdoc/sync/primary-backup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/sync/primary-backup.sh b/doc/sync/primary-backup.sh
index fddff3b..913ef7c 100755
--- a/doc/sync/primary-backup.sh
+++ b/doc/sync/primary-backup.sh
@@ -22,7 +22,7 @@ CONNTRACKD_LOCK=/var/lock/conntrack.lock
CONNTRACKD_CONFIG=/etc/conntrackd/conntrackd.conf
case "$1" in
- master)
+ primary)
#
# commit the external cache into the kernel table
#
@@ -86,6 +86,7 @@ case "$1" in
logger "ERROR: failed to invoke conntrackd -n"
;;
*)
+ logger "ERROR: unknown state transition"
echo "Usage: primary-backup.sh {primary|backup}"
exit 1
;;