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
33654f24
Commit
33654f24
authored
Jul 04, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove instance root before uninstall slapos node
parent
257891e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
windows/scripts/pre-uninstall.sh
windows/scripts/pre-uninstall.sh
+9
-0
No files found.
windows/scripts/pre-uninstall.sh
View file @
33654f24
...
...
@@ -12,6 +12,9 @@
# * Remove service cron, cygserver and syslog-ng
#
# * Remove slapos configure script from windows startup item
#
# * Remove instance root /srv/slapgrid
#
#
# Remove virtual netcard installed by re6stnet
...
...
@@ -39,6 +42,12 @@ slapos_run_entry=slapos-configure
echo
Removing startup item
"
$slapos_run_key
\\
$slapos_run_entry
"
regtool
-q
unset
"
$slapos_run_key
\\
$slapos_run_entry
"
#
# Remove default instance root, because it belong to slapuser, and
# would be removed by the windows uninstaller.
#
[[
-f
/srv/slapgrid
]]
&&
echo
Removing /srv/slapgrid
&&
rm
-rf
/srv/slapgrid
echo
Run pre-uninstall script successfully.
read
-n
1
-t
60
-p
"Press any key to exit..."
exit
0
...
...
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