Run script after finished boot
Posted: Thu Jan 03, 2019 6:38 pm
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
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