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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos.package
Commits
6656d35b
Commit
6656d35b
authored
May 28, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait ipv6 work before run slapformat
parent
0ef1c381
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
windows/scripts/init-slapos-node.sh
windows/scripts/init-slapos-node.sh
+8
-8
No files found.
windows/scripts/init-slapos-node.sh
View file @
6656d35b
...
...
@@ -16,18 +16,18 @@ ifname=re6stnet-lo
# Run re6stnet
echo
"Start re6stnet ..."
(
cd
/etc/re6stnet
;
re6stnet @re6stnet.conf
-I
$ifname
-i
$ifname
&
)
echo
"Start re6stent
(pid:
$!
)
in the background OK."
(
cd
/etc/re6stnet
;
re6stnet @re6stnet.conf
-
-ovpnlog
-
I
$ifname
-i
$ifname
&
)
echo
"Start re6stent in the background OK."
#
echo "Waiting re6stent network work ..."
#
while true ; do
# ping6 slap.vifib.com > /dev/null
&& break
#
done
#
echo "re6stnet network OK."
echo
"Waiting re6stent network work ..."
while
true
;
do
ping6 slap.vifib.com
&&
break
done
echo
"re6stnet network OK."
# Run slapformat
echo
"Initializing SlapOS Node ..."
/opt/slapos/bin/slapos node format
-c
--now
/opt/slapos/bin/slapos node format
-c
v
--now
if
((
$?
))
;
then
echo
"Initialize SlapOS Node failed."
else
...
...
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