summaryrefslogtreecommitdiff
path: root/packages/gpsd/files
diff options
context:
space:
mode:
authorJake Morrison <jake@cogini.com>2007-06-11 15:32:24 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-06-11 15:32:24 +0000
commitc95e380a833881cc95ffe07dbb08536f7c4d4cb1 (patch)
tree1dec846710b1ddab188c86f0b10a4038208b441d /packages/gpsd/files
parentef828c09c96cdc47f0b6901f2ee83cdb4bbcc8ec (diff)
gpsd: add /etc/default/gpsd config file - close #2465
Diffstat (limited to 'packages/gpsd/files')
-rwxr-xr-xpackages/gpsd/files/gpsd2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/gpsd/files/gpsd b/packages/gpsd/files/gpsd
index 289896fb47..2cf26c5f3a 100755
--- a/packages/gpsd/files/gpsd
+++ b/packages/gpsd/files/gpsd
@@ -16,6 +16,8 @@ GPS_DEV="/dev/ttyS3"
RETVAL=0
prog="gpsd"
+test -f /etc/default/$prog && . /etc/default/$prog
+
start() {
# Start daemons.
echo -n "Starting $prog: "