auto restart winbox
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 42s
Build and Publish Docker Image on Tag / build-and-publish (push) Successful in 40s

This commit is contained in:
merith-tk 2025-06-06 18:27:47 +01:00
parent 29b5f38836
commit 680ee425d3

View file

@ -11,4 +11,9 @@ if [ ! -f "/winbox64.exe" ]; then
wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
fi
wine64 /winbox64.exe
while true; do
echo "Starting Winbox..."
wine64 /winbox64.exe
echo "Winbox closed. Restarting in 3 seconds..."
sleep 3
done