diff options
Diffstat (limited to 'packages/freesmartphone/fso-gpsd')
-rw-r--r-- | packages/freesmartphone/fso-gpsd/fso-gpsd | 3 |
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 |