fix dat entrypoint
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 24s

This commit is contained in:
Merith 2025-06-05 06:29:32 +00:00
parent ec80d0d387
commit a94535293d

View file

@ -6,12 +6,9 @@ while ! ping -c1 1.1.1.1 &>/dev/null; do
sleep 5 sleep 5
done done
if [ ! -f "/data/winbox64.exe" ]; then if [ ! -f "/winbox64.exe" ]; then
echo "Winbox executable not found in /data. Downloading..." echo "Winbox executable not found in /data. Downloading..."
mkdir -p /data wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
wget -O /data/winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
else
echo "Winbox executable found in /data."
fi fi
wine64 /tmp/winbox64.exe wine64 /winbox64.exe