diff --git a/osm-garmin/app/build-gmap.sh b/osm-garmin/app/build-gmap.sh index 84b40ad..0cdf00c 100755 --- a/osm-garmin/app/build-gmap.sh +++ b/osm-garmin/app/build-gmap.sh @@ -8,11 +8,6 @@ style="$2" cwd="$(pwd)" 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_id="$2" style="$3" diff --git a/osm-garmin/app/daemon.sh b/osm-garmin/app/daemon.sh index 9934671..1863911 100644 --- a/osm-garmin/app/daemon.sh +++ b/osm-garmin/app/daemon.sh @@ -5,6 +5,8 @@ sleep_time=3600 sleep_time_fail=60 +[[ -n $OSMGARMIN_DAEMON_SLEEP ]] && sleep_time=$OSMGARMIN_DAEMON_SLEEP + function wait() { delay="$1" echo "💤 Sleeping $delay seconds..."