generated from gns3/vnc-template
auto restart winbox
This commit is contained in:
parent
29b5f38836
commit
680ee425d3
1 changed files with 6 additions and 1 deletions
|
@ -11,4 +11,9 @@ if [ ! -f "/winbox64.exe" ]; then
|
||||||
wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
|
wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
echo "Starting Winbox..."
|
||||||
wine64 /winbox64.exe
|
wine64 /winbox64.exe
|
||||||
|
echo "Winbox closed. Restarting in 3 seconds..."
|
||||||
|
sleep 3
|
||||||
|
done
|
Loading…
Reference in a new issue