diff options
author | Guy Sheffer <guysoft@gmail.com> | 2022-01-26 21:02:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 21:02:05 +0300 |
commit | 7e3bca4879a0c1708b7577b610bf0b27cfeaf225 (patch) | |
tree | 0c79a60d653a02602006d2310efdbfeb0fb05db3 | |
parent | df10e6d33c3ea0d122065a030fbea2dcb78be0aa (diff) | |
parent | 7e151c0f47d4b9720f9a2973040cd8ebc1e33da5 (diff) |
Merge pull request #763 from PowerWiesel/picam-bullseye-fix
picam-bullseye-fix
-rwxr-xr-x | src/modules/octopi/start_chroot_script | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/octopi/start_chroot_script b/src/modules/octopi/start_chroot_script index 11b981b..6247a7b 100755 --- a/src/modules/octopi/start_chroot_script +++ b/src/modules/octopi/start_chroot_script @@ -270,6 +270,11 @@ systemctl_if_exists enable streamer_select.service if [ "$OCTOPI_INCLUDE_MJPGSTREAMER" == "yes" ] then systemctl_if_exists enable webcamd.service +### use legacy camera stack on bullseye for now + if grep "camera_auto_detect=1" /boot/config.txt + then + sed -i "s/camera_auto_detect=1/camera_auto_detect=0/g" /boot/config.txt + fi else rm /etc/logrotate.d/webcamd rm /etc/systemd/system/webcamd.service |