mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
utils/gpsd: remove hotplug script
Remove a hotplug script, which starts/stops gpsd with attaching/detaching a PL2302 USB-UART device. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
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
|
||||
Reference in New Issue
Block a user