add pip install of control for meshtastic requirements to chroot

This commit is contained in:
nagumii 2025-03-05 22:51:23 +02:00
parent f8e2355e79
commit 6c6a7218a8

View file

@ -50,6 +50,9 @@ systemctl enable ttyd
echo "Cloning Control for Meshtastic by pdxlocations"
git clone https://github.com/pdxlocations/control.git /opt/control
pip install -r /opt/control/requirements.txt
chown -R femto /opt/control
git config --global --add safe.directory /opt/control # prevents git error when updating
echo "Setting MOTD..."
mv /etc/update-motd.d/10-help-text /etc/update-motd.d/10-help-text.bak