Hello,
I have the following simple bash script named "camera.sh":
When I add the following line to /etc/rc.local, the libcamera does not start:
The camera.sh file is executable and it works with the command line or double-clicking on it.
I'm using bullseye OS.
What else can I try?
Thank you
I have the following simple bash script named "camera.sh":
Code:
#!/bin/bashexport DISPLAY=:0.0export XAUTHORITY=~/.Xauthoritysleep 10libcamera-hello --fullscreen -t 0
Code:
sudo /home/pi/camera.shexit 0
I'm using bullseye OS.
What else can I try?
Thank you
Statistics: Posted by epikao2 — Thu Mar 07, 2024 2:22 pm