From 680ee425d3a05524c1488ef539ab53ea052f14f3 Mon Sep 17 00:00:00 2001 From: merith-tk Date: Fri, 6 Jun 2025 18:27:47 +0100 Subject: [PATCH] auto restart winbox --- entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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