fix: fixes install error if config.txt missing

This should fix install error if used OS has no config.txt,
like Raspberry PiOS has.

Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
Stephan Wendel
2022-06-20 21:52:54 +02:00
parent 3c4e4f8098
commit 1af5d9c46f

@@ -370,7 +370,8 @@ if [ "${UNATTENDED}" != "true" ] &&
[ "${CROWSNEST_FORCE_RASPICAMFIX}" != "0" ]; then
install_raspicam_fix
fi
if [ "$(get_os_version bullseye)" != "0" ]; then
if [ "$(get_os_version bullseye)" != "0" ] &&
[ -f "/boot/config.txt" ]; then
enable_legacy_cam
fi
goodbye_msg