2
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Ducky 8647d1f0a0 osm-garmin: add ability to set sleep from globvar 2023-10-02 23:40:52 +01:00
Ducky e172a4e2c2 osm-garmin: remove implemented todos 2023-10-02 23:40:39 +01:00
2 changed files with 2 additions and 5 deletions

View File

@ -8,11 +8,6 @@ style="$2"
cwd="$(pwd)" cwd="$(pwd)"
function build_gmap() { function build_gmap() {
# TODO: Set name (currently is "OSM street map")
# Use --housenumbers?
# A way to pass extra options
# Change ID (currently is 63240000)
region="$1" region="$1"
region_id="$2" region_id="$2"
style="$3" style="$3"

View File

@ -5,6 +5,8 @@
sleep_time=3600 sleep_time=3600
sleep_time_fail=60 sleep_time_fail=60
[[ -n $OSMGARMIN_DAEMON_SLEEP ]] && sleep_time=$OSMGARMIN_DAEMON_SLEEP
function wait() { function wait() {
delay="$1" delay="$1"
echo "💤 Sleeping $delay seconds..." echo "💤 Sleeping $delay seconds..."