
#!/bin/sh

cp gpsControl.service /etc/systemd/system/
gcc -o gpsControl/gpsControl gpsControl/gpsControl.c
cp -a gpsControl /usr/local/
mkdir /etc/systemd/system/ntp.service.requires
cd /etc/systemd/system/ntp.service.requires
ln -s /lib/systemd/system/gpsd.service
systemctl daemon-reload
systemctl enable gpsControl
