#!/bin/bash echo "Detection motion" >>/home/pi/motion/detection.log