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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.package
Commits
4ada13a3
Commit
4ada13a3
authored
Jul 18, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rebase couldn't find myfile.list;
Fix re6stnet service couldn't start
parent
ff0b857d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
windows/scripts/post-install.sh
windows/scripts/post-install.sh
+2
-2
windows/scripts/slapos-configure.sh
windows/scripts/slapos-configure.sh
+10
-4
No files found.
windows/scripts/post-install.sh
View file @
4ada13a3
...
...
@@ -93,8 +93,8 @@ echo Checking ${_filename} ...
if
[[
!
-f
${
_filename
}
]]
;
then
cat
<<
EOF
>
${
_filename
}
@echo off
${
cyghome
}
\b
in
\f
ind /opt/slapos -name "*.dll" >
/
myfile.list
IF EXIST
${
cyghome
}
\o
pt
\s
lapgrid.
${
cyghome
}
\b
in
\f
ind /opt/slapgrid -name "*.dll" >>
/
myfile.list
${
cyghome
}
\b
in
\f
ind /opt/slapos -name "*.dll" >
${
cyghome
}
\
m
yfile.list
IF EXIST
${
cyghome
}
\o
pt
\s
lapgrid.
${
cyghome
}
\b
in
\f
ind /opt/slapgrid -name "*.dll" >>
${
cyghome
}
\
m
yfile.list
TASKKILL /F /IM openvpn.exe
NET STOP re6stnet
NET STOP cygserver
...
...
windows/scripts/slapos-configure.sh
View file @
4ada13a3
...
...
@@ -421,10 +421,16 @@ if check_re6stnet_needed ; then
csih_error
"Failed to install
$re6stnet_service_name
service."
fi
echo
"You can check log files in the /var/log/re6stnet/*.log"
check_cygwin_service
$re6stnet_service_name
||
csih_error_multi
"Failed to start
$re6stnet_service_name
service. "
\
"Sometimes it's occurred when shutdown service re6stnet in unusual ways, "
\
"Try run 'rm -rf /var/lib/re6stnet' then re-configure again."
if
!
check_cygwin_service
$re6stnet_service_name
;
then
csih_error_multi
"Failed to start
$re6stnet_service_name
service. "
\
"One possible case is that re6stnet service is shutdown in unusual ways, "
\
"and in this case, you can fix it by removing '/var/lib/re6stnet'."
if
csih_request
"Do you want to let me remove '/var/lib/re6stnet' for you?"
;
then
rm
-rf
/var/lib/re6stnet
check_cygwin_service
$re6stnet_service_name
||
csih_error
"Failed to start
$re6stnet_service_name
service."
fi
fi
else
echo
"Native IPv6 found, no taps required."
fi
...
...
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