From e24b47e67c8e68fddcd05b54e8ba135f5cc740de Mon Sep 17 00:00:00 2001 From: Bernd Zeimetz Date: Sun, 1 Nov 2009 21:30:28 +0000 Subject: Use __file__ as location of the holtplug script. --- gpsd.hotplug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpsd.hotplug') 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." -- cgit v1.2.1