git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e520c
)
scripts: Crash cleanup script should pass a tag to logger
author
Martin Schwenke
<martin@meltin.net>
Tue, 16 Apr 2013 06:10:04 +0000
(16:10 +1000)
committer
Amitay Isaacs
<amitay@gmail.com>
Mon, 22 Apr 2013 04:21:14 +0000
(14:21 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
config/ctdb-crash-cleanup.sh
patch
|
blob
|
history
diff --git
a/config/ctdb-crash-cleanup.sh
b/config/ctdb-crash-cleanup.sh
index 4809c2332ff5d6d881aac19fbbd5dc95a5c15c45..ac33b4d045c203d30361d4a4af5c5e8914a97b39 100755
(executable)
--- a/
config/ctdb-crash-cleanup.sh
+++ b/
config/ctdb-crash-cleanup.sh
@@
-29,7
+29,7
@@
service ctdb status >/dev/null 2>&1 && {
[ -z "$_IP_HELD" ] || {
_IFACE=`echo $_IP_HELD | sed -e "s/.*\s//"`
_NM=`echo $_IP_HELD | sed -e "s/.*$_IP\///" -e "s/\s.*//"`
- logger
"
Removing public address $_IP/$_NM from device $_IFACE"
+ logger
-t "ctdbd" "ctdb-crash-cleanup.sh:
Removing public address $_IP/$_NM from device $_IFACE"
/sbin/ip addr del $_IP/$_NM dev $_IFACE
}
done