]> git.gir.st - ttxd.git/blob - install.sh
noted that dvbtext and vtx2ascii had been modified
[ttxd.git] / install.sh
1 #!/bin/sh
2
3 if [[ $UID -ne 0 ]]
4 then echo "must be root"
5 exit 1
6 fi
7
8 sh -c 'cd ./src/dvbtext-src/; make'
9 sh -c 'cd ./src/vtx2ascii-src/; make'
10 sh -c 'cd ./src/thttpd-2.27/; make'
11 cp ./src/dvbtext-src/dvbtext .
12 cp ./src/vtx2ascii-src/vtx2ascii .
13 cp ./src/thttpd-2.27/thttpd .
14 cp ./ttxd.service /etc/systemd/system/
15 systemctl enable ttxd.service
Imprint / Impressum