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:
segler 2010-12-20 15:18:57 +00:00
parent 62fda4ca40
commit 68eafcca95

View File

@ -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