Less verbosity when there is no public addresses file
authorMathieu Parent <math.parent@gmail.com>
Sat, 26 Mar 2011 20:32:34 +0000 (21:32 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 12 Oct 2011 09:07:03 +0000 (20:07 +1100)
This partialy reverts 81eff51, but still avoid spam.

config/events.d/10.interface

index 356ee08245f57e55ecf931e3af2fcbebb92b9f40..dd54f1e395250d006513cceb97e4a2da3718d558 100755 (executable)
@@ -13,6 +13,9 @@ loadconfig
 }
 
 [ ! -f "$CTDB_PUBLIC_ADDRESSES" ] && {
+       if [ "$1" = "init" ]; then
+               echo "No public addresses file found. Nothing to do for 10.interfaces"
+       fi
        exit 0
 }