slcp-opi-zero-installer/install.sh

8 lines
248 B
Bash

echo "Installing Dependencies"
sudo apt update
sudo apt install python3 python3-pip
sudo pip3 install siwat-light-control-protocol
sudo mkdir /slcp
sudo chmod 777 -Rv /slcp
cp -v ./slcp_config.json /slcp/config.json
echo "Adding Service to systemd"