aboutsummaryrefslogtreecommitdiff
path: root/utils/gpsd/test.sh
blob: 0ebca139206380a6ec87704d15f6b9d71f504755 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

case "$1" in
	"gpsd")
		gpsd -V 2>&1 | grep "$2"
		;;
	"gpsd-clients")
		cgps -V 2>&1 | grep "$2"
		;;
esac