1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-23 14:20:10 +00:00
docker-adsb-ultrafeeder/rootfs/etc/s6-overlay/scripts/mlat-client-finish
Matthias Wirth 916f045f4c replace 03-remove-mlathub-up
03-remove-mlathub-up deletes /run/mlathub_up when the container stops
As this file is created by the mlat-client service, remove it instead in
a finish script for mlat-client which is run when the mlat-client
service is stopped
2024-03-20 15:04:15 +00:00

25 lines
1,016 B
Text
Executable file

#!/command/with-contenv bash
#shellcheck shell=bash disable=SC2015,SC1091
source /scripts/common
# Remove MLATHub Up
#---------------------------------------------------------------------------------------------
# Copyright (C) 2023, 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
# 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