summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-08-01 14:00:23 +0200
committerHarald Welte <laforge@gnumonks.org>2016-08-01 14:00:23 +0200
commit81690ca78e816f86e0da11bbe8cba725fa1a634d (patch)
treead03298d74fc636c59199b7089d194f8f2c5648b
parent8c0f608643504b14c42ecb0d436354fad3cc7929 (diff)
downloadgpsdate-81690ca78e816f86e0da11bbe8cba725fa1a634d.tar.gz
gpsdate-81690ca78e816f86e0da11bbe8cba725fa1a634d.tar.bz2
gpsdate-81690ca78e816f86e0da11bbe8cba725fa1a634d.tar.xz
gpsdate-81690ca78e816f86e0da11bbe8cba725fa1a634d.zip
gpsdate.init: Use GPSDATE_{HOST,PORT} from /etc/default/gpsdate
so far only the sytemd service file used those variables, but not the init script. Fix that.
-rwxr-xr-xgpsdate.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsdate.init b/gpsdate.init
index bfd40f4..18d34f3 100755
--- a/gpsdate.init
+++ b/gpsdate.init
@@ -45,7 +45,7 @@ case "$1" in
# Unconditionally start gpsdate daemon because we want to run it even
# if wd_keepalive wasn't running
echo "Starting gpsdate..."
- $DAEMON $gpsdate_options
+ $DAEMON ${GPSDATE_HOST} ${GPSDATE_PORT} $gpsdate_options
fi
;;