diff options
author | Bernd Zeimetz <bernd@bzed.de> | 2009-11-01 21:30:28 +0000 |
---|---|---|
committer | Bernd Zeimetz <bernd@bzed.de> | 2009-11-01 21:30:28 +0000 |
commit | e24b47e67c8e68fddcd05b54e8ba135f5cc740de (patch) | |
tree | 18eaf770bf567924eba7c457c2c0f38ba3ff5942 /gpsd.hotplug | |
parent | 026cf00e65f1362e61058d09857f60fa356eb052 (diff) | |
download | gpsd-e24b47e67c8e68fddcd05b54e8ba135f5cc740de.tar.gz |
Use __file__ as location of the holtplug script.
Diffstat (limited to 'gpsd.hotplug')
-rwxr-xr-x | gpsd.hotplug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.hotplug b/gpsd.hotplug index a70d66a4..5c9f100d 100755 --- a/gpsd.hotplug +++ b/gpsd.hotplug @@ -7,7 +7,7 @@ import sys, time, os, syslog, glob, socket, stat CONTROL_SOCKET = "/var/run/gpsd.sock" -WHEREAMI = "/etc/hotplug/usb/gpsd.hotplug" +WHEREAMI = __file__ def gpsd_control_connect(): "Acquire a connection to the GPSD control socket." |