Skip to content

Commit

Permalink
Update ais-collect
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t authored Jul 1, 2024
1 parent c9a3b28 commit f632e02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rootfs/etc/s6-overlay/scripts/ais-collect
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# read AIS data from a AIS-Catcher web service and
# create and maintain a database with this data
#---------------------------------------------------------------------------------------------
# Copyright (C) 2022-2023, Ramon F. Kolb (kx1t)
# Copyright (C) 2022-2024, Ramon F. Kolb (kx1t)
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
Expand All @@ -28,9 +28,9 @@ source /scripts/common

renice -n 10 -p $$ >/dev/null 2>&1

declare -A VESSELS
declare -a VESSEL_INDEX
declare -a KEY_INDEX
! declare -p VESSELS >/dev/null 2>&1 && declare -A VESSELS || true
! declare -p KEY_INDEX >/dev/null 2>&1 && declare -a KEY_INDEX || true
! declare -p VESSEL_INDEX >/dev/null 2>&1 && declare -a VESSEL_INDEX || true

CHECK_INTERVAL="${CHECK_INTERVAL:-30}"
VESSELDBFILE="${VESSELDBFILE:-/data/vessel.db}"
Expand Down

0 comments on commit f632e02

Please sign in to comment.