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
Ayush Tiwari
slapos.package
Commits
4b4e4d75
Commit
4b4e4d75
authored
Jul 19, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix re6stnet service couldn't be removed by uninstaller
parent
dccbb3f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
windows/scripts/pre-uninstall.sh
windows/scripts/pre-uninstall.sh
+5
-2
No files found.
windows/scripts/pre-uninstall.sh
View file @
4b4e4d75
...
@@ -20,8 +20,11 @@ export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:$PATH
...
@@ -20,8 +20,11 @@ export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:$PATH
#
#
# Remove services installed by cygwin,
# Remove services installed by cygwin,
#
#
echo
Try to
kill
openvpn process ...
echo
Try to stop re6stnet service ...
ps
-ef
|
grep
-q
"/usr/bin/openvpn"
&&
TASKKILL /IM openvpn.exe /F
&&
echo
OK.
if
!
net stop re6stnet
;
then
echo
Try to
kill
openvpn process ...
ps
-ef
|
grep
-q
"/usr/bin/openvpn"
&&
TASKKILL /IM openvpn.exe /F
&&
echo
OK.
fi
for
name
in
$(
cygrunsrv
--list
)
;
do
for
name
in
$(
cygrunsrv
--list
)
;
do
echo
Removing cygservice
$name
echo
Removing cygservice
$name
cygrunsrv
-R
$name
&&
echo
OK.
cygrunsrv
-R
$name
&&
echo
OK.
...
...
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