summaryrefslogtreecommitdiff
path: root/packages/freesmartphone/fso-gpsd
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2008-12-19 13:27:16 +0100
committerStefan Schmidt <stefan@datenfreihafen.org>2008-12-19 13:27:16 +0100
commit448c0f81a2c8d902c0582cd843cc14d2e40da98f (patch)
treee4e2dc704d010919e7411b31e6a1f8f93d6655ec /packages/freesmartphone/fso-gpsd
parent4329072ac56debc5cfc53ad1ee0af5015061211a (diff)
fso-gpsd: Bump to 0.8 release. Initscript changes.
The author requested to change the way PID is handled and that it should only listen on localhost.
Diffstat (limited to 'packages/freesmartphone/fso-gpsd')
-rw-r--r--packages/freesmartphone/fso-gpsd/fso-gpsd3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/freesmartphone/fso-gpsd/fso-gpsd b/packages/freesmartphone/fso-gpsd/fso-gpsd
index 9859c6f30b..f7b0196dc8 100644
--- a/packages/freesmartphone/fso-gpsd/fso-gpsd
+++ b/packages/freesmartphone/fso-gpsd/fso-gpsd
@@ -14,7 +14,8 @@ NAME=fso-gpsd
case "$1" in
start)
echo -n "Starting freesmartphone.org gpsd compatibility daemon: "
- start-stop-daemon --start --pidfile /var/run/${NAME}.pid --make-pidfile -x /usr/sbin/fso-gpsd
+ start-stop-daemon --start /usr/sbin/fso-gpsd -S localhost:gpsd -P /var/run/${NAME}.pid
+
if [ $? = 0 ]; then
echo "(ok)"
else