Ticket #1183 (closed defect: fixed)
Suggested initscripts for gllin and gpsd
|Reported by:||cwixon@…||Owned by:||mickey|
|Blocking:||Estimated Completion (week):|
See the wiki at http://wiki.openmoko.org/wiki/Gllin#More_Initscripts
Using those scripts, and starting gpsd BEFORE gllin will have the following
(1) gpsd, if pointed to a device that has "NP" in its filename (as in
/tmp/nmeaNP), will create that named pipe if it doesn't already exist -- the
original version of gpsd simply fails if that's the case;
(2) gpsd will start listening immediately; and
(3) gllin's output to /tmp/nmeaNP will immediately be picked up by gpsd, so
there is no need to artificially pipe the gllin output to a log or /dev/null in
order to keep gllin alive (it exits automatically if it sees no client).
These scripts would also need corresponding links in rcX.d (for example, I have
/etc/rc5.d/S35gpsd and /etc/rc5.d/S38gllin).
Works fine for me.