From 81690ca78e816f86e0da11bbe8cba725fa1a634d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 1 Aug 2016 14:00:23 +0200 Subject: [PATCH] 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. --- gpsdate.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;;