File: 18_gpsd.hotplug_location.dpatch

package info (click to toggle)
gpsd 2.33-4etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 2,904 kB
  • ctags: 1,861
  • sloc: ansic: 14,508; sh: 9,172; xml: 2,657; python: 1,446; makefile: 334; cpp: 120; perl: 22
file content (19 lines) | stat: -rw-r--r-- 685 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## 18_gpsd.hotplug_location.dpatch by Tilman Koschnick <til@subnetz.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Adjust WHEREAMI variable in gpsd.hotplug.

@DPATCH@
diff -urNad gpsd~/gpsd.hotplug gpsd/gpsd.hotplug
--- gpsd~/gpsd.hotplug	2006-04-16 17:53:15.000000000 +0200
+++ gpsd/gpsd.hotplug	2006-04-30 14:34:19.340091662 +0200
@@ -6,7 +6,7 @@
 import sys, time, os, syslog, glob, socket, stat
 
 CONTROL_SOCKET = "/var/run/gpsd.sock"
-WHEREAMI = "/etc/hotplug/usb/gpsd.hotplug"
+WHEREAMI = "/lib/udev/gpsd.hotplug"
 
 def gpsd_control_connect():
     "Acquire a connection to the GPSD control socket."