On a normal startup after booting the login prompt appears from where I would login. But after making motion autostart I am unable to login or open GUI because motion is using the command line to display status of recording.
I am using motion to record video streams on Linux. In the folder
\etc\init.d
a script was written to execute motion at startup.
case $1
start)
echo "Starting Motion..."
sudo motion
;;
stop)
# when the init daemon performs a shutdown the motion is terminated
kill $(pidof motion)
;;
*)
;;
esac
exit 0
This script was made executable and added to boot sequence. My runlevel is 3 (commandline).
motionwith Ctrl+C? – Stephen Kitt Jul 14 '15 at 12:56