Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos.package
Commits
7f52951e
Commit
7f52951e
authored
Jun 27, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove BSD-only option in ping.
parent
fe3b1de9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
slapos-node/slapos-start
slapos-node/slapos-start
+4
-4
No files found.
slapos-node/slapos-start
View file @
7f52951e
...
...
@@ -18,11 +18,11 @@ if [ $ONLY_SLAPFORMAT = false ]; then
# Check ipv4
echo
"Checking IPv4 connectivity..."
ping
-c
2
-o
$IPV4CHECK
>
/dev/null 2>&1
ping
-c
2
$IPV4CHECK
>
/dev/null 2>&1
while
[
$?
!=
0
]
;
do
echo
"IPv4 is not ready yet."
sleep
2
ping
-c
2
-o
$IPV4CHECK
>
/dev/null 2>&1
ping
-c
2
$IPV4CHECK
>
/dev/null 2>&1
done
# Launch openvpn
...
...
@@ -33,12 +33,12 @@ if [ $ONLY_SLAPFORMAT = false ]; then
# Wait for ipv6 connection to be ready
echo
"Checking IPv6 connectivity. This may take a few seconds..."
ping6
-c
2
-o
$IPV6CHECK
>
/dev/null 2>&1
ping6
-c
2
$IPV6CHECK
>
/dev/null 2>&1
while
[
$?
!=
0
]
;
do
echo
"IPv6 is not ready yet."
sleep
2
ping6
-c
2
-o
$IPV6CHECK
>
/dev/null 2>&1
ping6
-c
2
$IPV6CHECK
>
/dev/null 2>&1
done
else
sleep
15
...
...
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