Streaming and motion detection work properly, but Motion doesn't seem to want to collaborate with the execution of scripts after an event trigger.
These are the scripts that I would like to run:
on_event_start echo -n "Motion detected!">> /pi/bin/pingLog/log.txt
on_picture_save mpack -s "Motion detected!" -d /home/pi/bin/fManagement/mail.txt %f myMail@gmail.com
Mpack is set correctly with msmpt, I can send mail manually but not automatically via Motion.