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
15
Merge Requests
15
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
nexedi
slapos.package
Commits
9ddb5f33
Commit
9ddb5f33
authored
Jul 09, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill openvpn before uninstall slapos
parent
46c238b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
windows/scripts/pre-uninstall.sh
windows/scripts/pre-uninstall.sh
+3
-1
No files found.
windows/scripts/pre-uninstall.sh
View file @
9ddb5f33
...
@@ -31,8 +31,10 @@ for ifname in $(netsh interface ipv6 show interface | gawk '{ print $5 }') ; do
...
@@ -31,8 +31,10 @@ for ifname in $(netsh interface ipv6 show interface | gawk '{ print $5 }') ; do
done
done
#
#
# Remove services installed by cygwin
# Remove services installed by cygwin
,
#
#
echo
Try to
kill
openvpn process ...
ps
-ef
|
grep
-q
"/usr/bin/openvpn"
&&
TASKKILL /IM openvpn.exe /F
for
name
in
$(
cygrunsrv
--list
)
;
do
for
name
in
$(
cygrunsrv
--list
)
;
do
echo
Removing cygservice
$name
echo
Removing cygservice
$name
cygrunsrv
-R
$name
cygrunsrv
-R
$name
...
...
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