Browse Source

more fixes on the hotplug wrapper and postinst

git-svn-id: https://ssl.recluse.de/svn/debian/packages/gpsd/trunk@526 9c2cd6cd-4e54-406b-9ece-f07a8ab7d216
tags/debian/2.37-6
bzed 13 years ago
parent
commit
7d6477c9ed
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      debian/gpsd.hotplug.wrapper
  2. +2
    -2
      debian/gpsd.postinst

+ 2
- 1
debian/gpsd.hotplug.wrapper View File

@@ -2,7 +2,8 @@
# $Id: gpsd.hotplug.wrapper 4669 2008-01-21 15:07:00Z esr $

#debian addition:
. /etc/default/gpsd
[ ! -r /etc/default/gpsd ] || . /etc/default/gpsd
[ "$START_DAEMON" = "true" ] || exit 0
[ "$USBAUTO" = "true" ] || exit 0




+ 2
- 2
debian/gpsd.postinst View File

@@ -16,7 +16,7 @@ if [ "$1" = "configure" ] ; then
db_get gpsd/device
DEVICES=$RET
db_get gpsd/start_daemon
START=$RET
START_DAEMON=$RET
db_get gpsd/daemon_options
OPTS=$RET
db_get gpsd/autodetection
@@ -26,7 +26,7 @@ cat <<EOF > /etc/default/gpsd
# Default settings for gpsd.
# Please do not edit this file directly - use \`dpkg-reconfigure gpsd' to
# change the options.
START="$START"
START_DAEMON="$START_DAEMON"
DAEMON_OPTS="$OPTS"
DEVICES="$DEVICES"
USBAUTO="$USBAUTO"


Loading…
Cancel
Save