mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 21:30:11 +00:00
remove unused infrastructure around /run/mlathub_up
This commit is contained in:
parent
fee8f6320b
commit
53a27d9401
5 changed files with 0 additions and 69 deletions
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/mlat-client-finish
|
|
@ -232,10 +232,6 @@ done
|
|||
|
||||
sleep 5 & wait $!
|
||||
|
||||
# All MLAT Clients are up, so set the flag. This flag is read by MLATHUB as a sign that it's
|
||||
# safe to start up
|
||||
touch /run/mlathub_up
|
||||
|
||||
# Now iterate over all MLAT-client instances and check if they are still running:
|
||||
while true
|
||||
do
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
#!/command/with-contenv bash
|
||||
#shellcheck shell=bash disable=SC2015,SC1091
|
||||
|
||||
source /scripts/common
|
||||
|
||||
# Remove MLATHub Up
|
||||
#---------------------------------------------------------------------------------------------
|
||||
# Copyright (C) 2023-2024, Ramon F. Kolb (kx1t) and contributors
|
||||
#
|
||||
# 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
|
||||
# Free Software Foundation, either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with this program.
|
||||
# If not, see <https://www.gnu.org/licenses/>.
|
||||
#---------------------------------------------------------------------------------------------
|
||||
|
||||
rm -f /run/mlathub_up
|
||||
|
||||
exit 0
|
|
@ -95,19 +95,6 @@ fi
|
|||
# Handle "--net-heartbeat=<rate>"
|
||||
MLATHUB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-35}")
|
||||
|
||||
# No longer any need to wait, we can start up immediate
|
||||
#if [[ ! -f /run/mlathub_up ]]
|
||||
#then
|
||||
# if [[ -z "${LOGLEVEL}" ]] || [[ "${LOGLEVEL,,}" == "verbose" ]]; then
|
||||
# "${s6wrap[@]}" --args echo "Delaying MLAT hub start until container is established..."
|
||||
# fi
|
||||
# while [[ ! -f /run/mlathub_up ]]
|
||||
# do
|
||||
# sleep 2
|
||||
# done
|
||||
#fi
|
||||
#sleep 5 # sleep a bit so everything is well established
|
||||
|
||||
"${s6wrap[@]}" --args echo "Starting MLATHUB..."
|
||||
|
||||
# shellcheck disable=SC2086,SC2069
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
#!/command/with-contenv bash
|
||||
#shellcheck shell=bash disable=SC2015,SC1091
|
||||
|
||||
source /scripts/common
|
||||
|
||||
# MLATHub Prep
|
||||
#---------------------------------------------------------------------------------------------
|
||||
# Copyright (C) 2023-2024, Ramon F. Kolb (kx1t) and contributors
|
||||
#
|
||||
# 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
|
||||
# Free Software Foundation, either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with this program.
|
||||
# If not, see <https://www.gnu.org/licenses/>.
|
||||
#---------------------------------------------------------------------------------------------
|
||||
|
||||
rm -f /run/mlathub_up
|
||||
|
||||
exit 0
|
Loading…
Reference in a new issue