led_control/pi/install.sh
2023-01-21 16:05:57 +01:00

7 lines
141 B
Bash

#!/bin/sh
chmod +x ./lc.py
cp lc.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable --now lc.service
systemctl restart lc