initial install script

This commit is contained in:
Siwat Sirichai 2022-11-16 22:21:14 +07:00
commit 484a6bfae0
3 changed files with 8 additions and 0 deletions

8
install.sh Normal file
View File

@ -0,0 +1,8 @@
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"

0
slcp.service Normal file
View File

0
slcp_config.json Normal file
View File