#!/bin/bash # Thin wrapper: the linuxserver.io custom-cont-init.d runner invokes every # executable file directly in this directory via `sh`, ignoring shebangs, # so a plain .py file placed here fails outright when picked up on its # own. The real logic lives in lib/ (a subdirectory, which the runner # does not recurse into) and is invoked explicitly via python3 here. # Runs on every container start (before MT5 itself, per the s6 cont-init # ordering) -- see lib/sync-ea-inputs.py for what it does and why. python3 "$(dirname "$0")/lib/sync-ea-inputs.py"