generated from gns3/vnc-template
parent
ec80d0d387
commit
a94535293d
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue