summaryrefslogtreecommitdiff
path: root/gpsd.hotplug
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-01-07 23:08:20 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-01-07 23:08:20 -0500
commit772dbda0de0a6bdc0eca354a04b4adbcfe0b2397 (patch)
tree1f7a297951c68b8e08d64e3bd2f722e4fae9ce67 /gpsd.hotplug
parent1613b18bcf6e2b57977c10e18a4878adad6dc322 (diff)
downloadgpsd-772dbda0de0a6bdc0eca354a04b4adbcfe0b2397.tar.gz
udev rules: source Gentoo config files
Diffstat (limited to 'gpsd.hotplug')
-rw-r--r--gpsd.hotplug2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.hotplug b/gpsd.hotplug
index dd0deafa..5f4ce133 100644
--- a/gpsd.hotplug
+++ b/gpsd.hotplug
@@ -24,6 +24,8 @@ export PATH
if [ -r /etc/default/gpsd ]; then
. /etc/default/gpsd
+elif [ -r /etc/conf.d/gpsd ]; then
+ . /etc/conf.d/gpsd
elif [ -r /etc/sysconfig/gpsd ]; then
. /etc/sysconfig/gpsd
GPSD_OPTIONS=$OPTIONS