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:
@@ -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
|
||||
|
Reference in New Issue
Block a user