diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2008-07-12 11:31:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2008-07-12 11:31:53 +0000 |
commit | 2a45e351695e47836ad63cd51f5d8337f155c7c6 (patch) | |
tree | 661e18fe03d5c4badaf0736addeb1360c4806f97 /www | |
parent | 0f6ea1b1691ed3532ad82723642e8fe2b0e5706d (diff) | |
download | gpsd-2a45e351695e47836ad63cd51f5d8337f155c7c6.tar.gz |
This belongs under version control.
Diffstat (limited to 'www')
-rw-r--r-- | www/start-kismet | 11 |
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 $* |