Add ROLE_IPA_DC into two more places
[Samba.git] / ctdb / config / notify.sh
blobdb69afc77c172cb6fe0759532d9c54fd0e78534d
1 #!/bin/sh
3 # This is script is invoked from ctdb when certain events happen. See
4 # /etc/ctdb/events/notification/README for more details.
6 d=$(dirname "$0")
7 nd="${d}/events/notification"
9 ok=true
11 for i in "${nd}/"*.script ; do
12 # Files must be executable
13 [ -x "$i" ] || continue
15 # Flag failures
16 "$i" "$1" || ok=false
17 done
19 $ok