summaryrefslogtreecommitdiff
path: root/gpsd.hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.hotplug')
-rwxr-xr-xgpsd.hotplug3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpsd.hotplug b/gpsd.hotplug
index eac47675..a70d66a4 100755
--- a/gpsd.hotplug
+++ b/gpsd.hotplug
@@ -52,6 +52,9 @@ def gpsd_control(action, argument):
elif action == 'remove':
connect.sendall("-%s\r\n" % argument)
connect.recv(12)
+ elif action == 'send':
+ connect.sendall("%s\r\n" % argument)
+ connect.recv(12)
connect.close()
#syslog.syslog("gpsd_control ends")
return action