gpsd: initial add to packages

This package is currently in oldpackages. Add here to keep support for gpsd.

From oldpackages, this was bumped from 3.10 -> 3.15 and includes an upstream
patch to allow building with musl.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
This commit is contained in:
Pushpal Sidhu
2015-10-16 14:26:59 -07:00
parent 41a8f2d63b
commit 8da4be4843
5 changed files with 239 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
case "$ACTION" in
add)
# start process
# only pl2303 devices are handled
if [ "$PRODUCT" = "67b/2303/300" ] && [ "$TYPE" = "0/0/0" ] && [ "$INTERFACE" = "255/0/0" ]; then
sleep 3 && /etc/init.d/gpsd start
fi
;;
remove)
# stop process
# only pl2303 devices are handled
if [ "$PRODUCT" = "67b/2303/300" ] && [ "$TYPE" = "0/0/0" ] && [ "$INTERFACE" = "255/0/0" ]; then
/etc/init.d/gpsd stop
fi
;;
esac