From 511d4191d0c1057003e8d767cce35bd0a1ad22cb Mon Sep 17 00:00:00 2001 From: kx1t Date: Fri, 13 Oct 2023 08:18:57 -0400 Subject: [PATCH] update 1 --- rootfs/etc/s6-overlay/scripts/adsbx-stats | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rootfs/etc/s6-overlay/scripts/adsbx-stats b/rootfs/etc/s6-overlay/scripts/adsbx-stats index c2a9af5..489899f 100755 --- a/rootfs/etc/s6-overlay/scripts/adsbx-stats +++ b/rootfs/etc/s6-overlay/scripts/adsbx-stats @@ -1,10 +1,8 @@ #!/command/with-contenv bash # shellcheck shell=bash disable=SC2015,SC2016,SC1091 -APPNAME="readsb" - source /scripts/common -s6wrap=(s6wrap --quiet --timestamps --prepend="${APPNAME}" --args) +s6wrap=(s6wrap --quiet --timestamps --prepend="$(basename "$0")" --args) # First check if ADSBX is in the config string