I try to turn off cam lights after boot with
uvcdynctrl -i /usr/share/uvcdynctrl/data/046d/logitech.xml
v4l2-ctl -c led1_mode=0
and placed a script in /etc/init.d with the name webcam_lights_off and chmod 755 to be able to execute.
I can run the script and it works fine but after reboot it seems to run first before the webcam starts to stream.
How can i make it run after all besides from a cron job?
Gargoyle version 1.10.0
Run script after finished boot
Moderator: Moderators
Re: Run script after finished boot
Try /etc/rc.local


Re: Run script after finished boot
Make the start number 99, or at least higher than webcam.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Run script after finished boot
Working without start number.
Actually i forgot how they worked
Thx working
Actually i forgot how they worked

Thx working