diff --git a/entrypoint.sh b/entrypoint.sh index 42bfd87..59aaafc 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 \ No newline at end of file