From 13eefdceb17d423ca34b16a684da4ea10bdc734e Mon Sep 17 00:00:00 2001 From: Joel Klimont Date: Sat, 19 Nov 2022 01:42:11 +0100 Subject: [PATCH] fixed a bug where the postinstall script would fail, if "raspi-config" is not installed on the system --- client/postinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/postinstall.sh b/client/postinstall.sh index a6a94da..cf9ce4b 100644 --- a/client/postinstall.sh +++ b/client/postinstall.sh @@ -9,7 +9,7 @@ pip3 install requests flask echo "Setting up nginx rtmp server" sudo /etc/init.d/nginx start -sudo raspi-config nonint do_legacy 0 +sudo raspi-config nonint do_legacy 0 || echo "(WARNING) raspi-config not found, cannot enable legacy camera support" { echo 'load_module "modules/ngx_rtmp_module.so";'