removed if statements, line 93, 96, 99
This commit is contained in:
parent
d3f96b0a6b
commit
9b5b9e7687
11
setup.sh
11
setup.sh
@ -89,16 +89,7 @@ sudo raspi-config nonint do_serial_hw 0
|
|||||||
sudo raspi-config nonint do_ssh 0
|
sudo raspi-config nonint do_ssh 0
|
||||||
sudo raspi-config nonint do_camera 0
|
sudo raspi-config nonint do_camera 0
|
||||||
sudo raspi-config nonint disable_raspi_config_at_boot 0
|
sudo raspi-config nonint disable_raspi_config_at_boot 0
|
||||||
|
sudo apt install -y i2c-tools libgpiod-dev python3-libgpiod
|
||||||
if [! dpkg -l | grep -q i2c-tools]; then
|
|
||||||
sudo apt install -y i2c-tools
|
|
||||||
fi
|
|
||||||
if [! dpkg -l | grep -q libgpiod-dev]; then
|
|
||||||
sudo apt install -y i2c-tools
|
|
||||||
fi
|
|
||||||
if [! dpkg -l | grep -q python3-libgpiod]; then
|
|
||||||
sudo apt install -y i2c-tools
|
|
||||||
fi
|
|
||||||
|
|
||||||
python3 blinka-test.py
|
python3 blinka-test.py
|
||||||
echo -e "$line\nSetup complete\n$line\n"
|
echo -e "$line\nSetup complete\n$line\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user