summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2010-02-23 10:14:51 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2010-02-23 10:16:17 +1100
commitaf79d2c08b260abe74c22d4899708a4208c30b2f (patch)
treeb7ddf22e63272330fdb40fe48d5c26360b722894 /ctdb
parent05dcbed90e9c635f3f51fbaa9550dacc91ed1785 (diff)
downloadsamba-af79d2c08b260abe74c22d4899708a4208c30b2f.tar.gz
samba-af79d2c08b260abe74c22d4899708a4208c30b2f.tar.xz
samba-af79d2c08b260abe74c22d4899708a4208c30b2f.zip
Make sure that the natgw eventscript also triggers on the "stopped" event
to remove the natgw configuration and ip assignments used. BZ61036 (This used to be ctdb commit 344b1f95b126ecabeb4576330038b08bf88e8cb8)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/config/events.d/11.natgw2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/11.natgw b/ctdb/config/events.d/11.natgw
index ee7b4f9c63..ce1becc072 100644
--- a/ctdb/config/events.d/11.natgw
+++ b/ctdb/config/events.d/11.natgw
@@ -66,7 +66,7 @@ case "$1" in
echo 1 > /proc/sys/net/ipv4/route/flush
;;
- shutdown|removenatgw)
+ shutdown|stopped|removenatgw)
delete_all
;;