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