generated from gns3/vnc-template
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 24s
14 lines
366 B
Bash
14 lines
366 B
Bash
#!/bin/bash
|
|
|
|
# Wait until internet is available
|
|
while ! ping -c1 1.1.1.1 &>/dev/null; do
|
|
echo "Waiting for internet connection..."
|
|
sleep 5
|
|
done
|
|
|
|
if [ ! -f "/winbox64.exe" ]; then
|
|
echo "Winbox executable not found in /data. Downloading..."
|
|
wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
|
|
fi
|
|
|
|
wine64 /winbox64.exe
|