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.
This commit is contained in:
Harald Welte 2016-08-01 14:00:23 +02:00
parent 8c0f608643
commit 81690ca78e
1 changed files with 1 additions and 1 deletions

View File

@ -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