Commit 942007aa authored by Stefan Scherer's avatar Stefan Scherer

Remove scripts

parent fcaf22c0
echo Sleeping for another minute
ping -n 60 127.0.0.1 >nul: 2>nul:
echo Sleeping until internet is available
@setlocal enableextensions enabledelayedexpansion
@echo off
set ipaddr=8.8.8.8
:loop
set state=down
for /f "tokens=5,7" %%a in ('ping -n 1 !ipaddr!') do (
if "x%%a"=="xReceived" if "x%%b"=="x1," set state=up
)
echo.Link is !state!
ping -n 5 127.0.0.1 >nul: 2>nul:
if "%state%"=="down" goto :loop
endlocal
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment