#!/bin/sh

#set -e

exec 2>&1

ls /usr/bin/motion

found=$?

/usr/bin/motion -h > /dev/null 2>&1

run=$?

if [ $found -ne 0 -o $run -ne 1 ]; then
  false
fi
