Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Bob Tanner
packer-windows
Commits
942007aa
Commit
942007aa
authored
Nov 27, 2015
by
Stefan Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove scripts
parent
fcaf22c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
scripts/sleep.bat
scripts/sleep.bat
+0
-2
scripts/wait-for-uplink.bat
scripts/wait-for-uplink.bat
+0
-14
No files found.
scripts/sleep.bat
deleted
100644 → 0
View file @
fcaf22c0
echo
Sleeping
for
another
minute
ping
-n
60
127
.0.0.1
>
nul
:
2
>
nul
:
scripts/wait-for-uplink.bat
deleted
100644 → 0
View file @
fcaf22c0
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment