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:
052001d
)
Less verbosity when there is no public addresses file
author
Michael Adam
<obnox@samba.org>
Thu, 24 Apr 2014 11:56:19 +0000
(13:56 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 24 Apr 2014 12:00:22 +0000
(14:00 +0200)
This is partly cherry-picked from master commits:
8837daa424732aeb5a20814b1709c345a97a0e09
e646142f4d28b5401235cd5edee325f7a29f8193
Signed-off-by: Michael Adam <obnox@samba.org>
config/events.d/10.interface
patch
|
blob
|
history
diff --git
a/config/events.d/10.interface
b/config/events.d/10.interface
index d7abc186fb0ff40da41cd5dbfe32f787e3749cca..dd2a088539e2ade685dbf2847a3774e629a22626 100755
(executable)
--- a/
config/events.d/10.interface
+++ b/
config/events.d/10.interface
@@
-13,7
+13,9
@@
loadconfig
}
[ ! -f "$CTDB_PUBLIC_ADDRESSES" ] && {
- echo "No public addresses file found. Nothing to do for 10.interfaces"
+ if [ "$1" = "init" ]; then
+ echo "No public addresses file found. Nothing to do for 10.interfaces"
+ fi
exit 0
}