Compare commits
2 Commits
0d622e7cf1
...
8647d1f0a0
Author | SHA1 | Date |
---|---|---|
Ducky | 8647d1f0a0 | |
Ducky | e172a4e2c2 |
|
@ -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"
|
||||||
|
|
|
@ -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..."
|
||||||
|
|
Loading…
Reference in New Issue