Hi,

I'll be using notify-pri-on-incon-degr.sh. I want to define to which address it will mail results. I could enter the [email protected] directly to the script, but i think this line:

# Default to sending email to root, unless otherwise specified
RECIPIENT=${1:=root}

allows me to add parameter ($1) to the script like this:

pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh [email protected]; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";

and it will mail to [email protected].

Someone please confirm. Simple yes will suffice. :-)

Thank you,
M.
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to