fixed a bug where the postinstall script would fail, if "raspi-config" is not installed on the system
This commit is contained in:
parent
f03df1b3b3
commit
13eefdceb1
1 changed files with 1 additions and 1 deletions
|
@ -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";'
|
||||
|
|
Reference in a new issue