Need help getting this script to run when the RPi starts.
Posted: Mon May 13, 2013 1:34 am
I need to get this script up and running soon and need a hand.
that's the script I need run when the machine boots. Any idea?
I keep getting
when I put it in RC.Local
Thanks for the help,
Alfa
Code: Select all
#! /bin/sh
sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
sleep 3
gpspipe -r | grep '^\$G' | tee $nmeaI keep getting
Code: Select all
May 12 21:21:45 raspberrypi gpsd[322]: gpsd:ERROR: read-only device open failed: Permission denied
May 12 21:21:45 raspberrypi gpsd[322]: gpsd:ERROR: /dev/ttyUSB0: device activation failed.
Thanks for the help,
Alfa