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:
parent
8c0f608643
commit
81690ca78e
|
@ -45,7 +45,7 @@ case "$1" in
|
||||||
# Unconditionally start gpsdate daemon because we want to run it even
|
# Unconditionally start gpsdate daemon because we want to run it even
|
||||||
# if wd_keepalive wasn't running
|
# if wd_keepalive wasn't running
|
||||||
echo "Starting gpsdate..."
|
echo "Starting gpsdate..."
|
||||||
$DAEMON $gpsdate_options
|
$DAEMON ${GPSDATE_HOST} ${GPSDATE_PORT} $gpsdate_options
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue