fixed buzzer thread

fixed logging
fixed postinstall.sh
This commit is contained in:
Joel 2021-01-29 14:21:03 +01:00
parent efd03d71a1
commit af3f832758
No known key found for this signature in database
GPG key ID: BDDDBECD0808290E
5 changed files with 25 additions and 4 deletions

View file

@ -13,6 +13,7 @@ install_package "smbus"
install_package "requests"
install_package "flask"
install_package "python-logstash-async"
install_package "RPi.GPIO"
echo "Setting up opencv4"
pkg-config --modversion opencv4
@ -41,3 +42,10 @@ echo "Starting pigpiod daemon"
sudo systemctl start pigpiod
sudo systemctl enable pigpiod
echo "Enabling camera via raspi-conf"
raspi-config nonint do_camera 1
RED='\033[0;31m'
NC='\033[0m'
echo -e "${RED}IF THIS IS THE FIRST INSTALL REBOOT YOUR PIE NOW!${NC}"