Can mdadm run only programs or it can run .sh also?
If so then how can I run script with mdadm?
I traid switch --program=/myscript.sh
Not working.
(Script is simple. Dump mdadm detail log to txt and sending it to my email. Script working)