Commit 9ddb5f33 authored by Jondy Zhao's avatar Jondy Zhao

Kill openvpn before uninstall slapos

parent 46c238b1
......@@ -31,8 +31,10 @@ for ifname in $(netsh interface ipv6 show interface | gawk '{ print $5 }') ; do
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
echo Removing cygservice $name
cygrunsrv -R $name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment