pi_player/03_4_fbcp_install_service.sh

14 lines
210 B
Bash
Executable File

#!/bin/bash
if [ ! -f "/etc/systemd/system/fbcp.service" ]; then
sudo cp ./files/fbcp.service /etc/systemd/system/fbcp.service
sudo systemctl enable fbcp
fi
sudo killall fbcp
sudo systemctl start fbcp