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
Kasra Jamshidi
slapos.package
Commits
b1d39d83
Commit
b1d39d83
authored
Aug 27, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-install: change autorebase.bat
parent
c870bb95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
windows/scripts/post-install.sh
windows/scripts/post-install.sh
+3
-5
No files found.
windows/scripts/post-install.sh
View file @
b1d39d83
...
...
@@ -101,12 +101,10 @@ ${_cygroot:0:2}
CHDIR
${
_cygroot
}
${
_cygroot
}
\b
in
\f
ind /opt/slapos -name "*.dll" >
${
_cygroot
}
\m
yfile.list
IF EXIST
${
_cygroot
}
\o
pt
\s
lapgrid.
${
_cygroot
}
\b
in
\f
ind /opt/slapgrid -name "*.dll" >>
${
_cygroot
}
\m
yfile.list
bin
\b
ash --login -c "for pid in
\$
(ps | grep '/usr/bin/openvpn' | gawk '{print
$4
}') ; do TASKKILL /F /T /PID
\$
pid ; done"
NET STOP
${
slapos_prefix
}
cron
NET STOP
${
slapos_prefix
}
re6stnet
NET STOP
${
slapos_prefix
}
cygserver
NET STOP
${
slapos_prefix
}
syslog-ng
NET STOP
${
slapos_prefix
}
cron
NET STOP
${
slapos_prefix
}
sshd
NET STOP
${
slapos_prefix
}
cygserver
bin
\b
ash --login -c "for pid in
\$
(ps | grep '/usr/bin/python2.7' | gawk '{print
\$
4}') ; do TASKKILL /F /T /PID
\$
pid ; done"
PATH .
\b
in;%PATH%
dash /bin/rebaseall -T /myfile.list -v
...
...
@@ -168,7 +166,7 @@ fi
if
[[
-n
${
slapos_prefix
}
]]
;
then
echo
"Set slapos prefix as
${
slapos_prefix
}
"
sed
-i
-e
"s%slapos_prefix=.*
\$
%slapos_prefix=
${
slapos_prefix
}
%"
\
/etc/slapos/scripts/
pre-uninstall.sh /etc/slapos/scripts/
slapos-include.sh
/etc/slapos/scripts/slapos-include.sh
else
echo
"Set slapos prefix to empty"
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