ZMLarch / Motion / Vloopback Autorun
Posted: Sun Jan 17, 2010 5:54 pm
Hiya
Sorry - I am a newbie on Linux, and this may be hopefully a very simple question.
I have installed ZM from the ZMLarch CD to a laptop HDD, and have got all the modules working correctly with my PCMCIA capture card. (ZM, Motion, Vloopback)
However, every time I boot the laptop, I have to type the following into terminal:-
sudo -i
zmrc stop
modprobe videodev
modprobe vloopback
/usr/local/bin/motion
zmrc start
If I type this in manually, the system works great.
Is there a way to do a sort of 'autoexec.bat' type file, such that the above runs automatically at the end of the boot sequence?
Best regards
James T
Sorry - I am a newbie on Linux, and this may be hopefully a very simple question.
I have installed ZM from the ZMLarch CD to a laptop HDD, and have got all the modules working correctly with my PCMCIA capture card. (ZM, Motion, Vloopback)
However, every time I boot the laptop, I have to type the following into terminal:-
sudo -i
zmrc stop
modprobe videodev
modprobe vloopback
/usr/local/bin/motion
zmrc start
If I type this in manually, the system works great.
Is there a way to do a sort of 'autoexec.bat' type file, such that the above runs automatically at the end of the boot sequence?
Best regards
James T