Changed pkill to full search at stop to avoid the script itself of being killed
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_openvpn@5920 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
62fda4ca40
commit
68eafcca95
@ -71,7 +71,7 @@ case "$1" in
|
||||
|
||||
stop)
|
||||
echo -n "Stopping openvpn"
|
||||
pkill openvpn
|
||||
pkill -f "openvpn --config"
|
||||
evaluate_retval
|
||||
echo -n "unloading tun driver"
|
||||
rmmod tun
|
||||
|
Loading…
Reference in New Issue
Block a user