summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2008-07-12 11:31:53 +0000
committerEric S. Raymond <esr@thyrsus.com>2008-07-12 11:31:53 +0000
commit2a45e351695e47836ad63cd51f5d8337f155c7c6 (patch)
tree661e18fe03d5c4badaf0736addeb1360c4806f97 /www
parent0f6ea1b1691ed3532ad82723642e8fe2b0e5706d (diff)
downloadgpsd-2a45e351695e47836ad63cd51f5d8337f155c7c6.tar.gz
This belongs under version control.
Diffstat (limited to 'www')
-rw-r--r--www/start-kismet11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/start-kismet b/www/start-kismet
new file mode 100644
index 00000000..00fae010
--- /dev/null
+++ b/www/start-kismet
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+# Start Kismet, coping with the bad way it interacts with newer gpsd versions.
+# Originally by Andreas Schneider <mail@cynapses.org>.
+
+# netcat runs 48 seconds
+# gpsd should detect the baud rate in 40 sec
+echo -e "p\nb\nb\nb\nb" | netcat -i 8 localhost 2947 >/dev/null 2>&1 &
+sleep 40
+
+kismet $*