summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-07-19 21:11:53 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-07-19 21:11:53 +0000
commit0bf82d83c15a2df2ad7ca857b4acde5d022e3ae1 (patch)
treef70695299387a740dd2232f65e7db83eca0ac209 /net-misc/cisco-vpnclient-3des
parentRelease of webapp-config-1.50.15. rl03 added the webapp-cleaner. (diff)
downloadgentoo-2-0bf82d83c15a2df2ad7ca857b4acde5d022e3ae1.tar.gz
gentoo-2-0bf82d83c15a2df2ad7ca857b4acde5d022e3ae1.tar.bz2
gentoo-2-0bf82d83c15a2df2ad7ca857b4acde5d022e3ae1.zip
Moved check for the vpnclient executable and added a sleep 1. Closing bug #141065.
(Portage version: 2.1.1_pre2-r6)
Diffstat (limited to 'net-misc/cisco-vpnclient-3des')
-rw-r--r--net-misc/cisco-vpnclient-3des/ChangeLog6
-rw-r--r--net-misc/cisco-vpnclient-3des/files/vpnclient.rc9
2 files changed, 10 insertions, 5 deletions
diff --git a/net-misc/cisco-vpnclient-3des/ChangeLog b/net-misc/cisco-vpnclient-3des/ChangeLog
index 1c03a04b469e..5d1e472d494b 100644
--- a/net-misc/cisco-vpnclient-3des/ChangeLog
+++ b/net-misc/cisco-vpnclient-3des/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/cisco-vpnclient-3des
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.41 2006/05/30 21:01:47 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.42 2006/07/19 21:11:53 wolf31o2 Exp $
+
+ 19 Jul 2006; Chris Gianelloni <wolf31o2@gentoo.org> files/vpnclient.rc:
+ Moved check for the vpnclient executable and added a sleep 1. Closing bug
+ #141065.
30 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
cisco-vpnclient-3des-4.0.1a-r1.ebuild,
diff --git a/net-misc/cisco-vpnclient-3des/files/vpnclient.rc b/net-misc/cisco-vpnclient-3des/files/vpnclient.rc
index 0a1ae4a4c6a1..4344d98f6a2e 100644
--- a/net-misc/cisco-vpnclient-3des/files/vpnclient.rc
+++ b/net-misc/cisco-vpnclient-3des/files/vpnclient.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/files/vpnclient.rc,v 1.6 2004/08/25 00:04:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/files/vpnclient.rc,v 1.7 2006/07/19 21:11:53 wolf31o2 Exp $
opts="start stop status"
@@ -75,14 +75,15 @@ stop() {
ebegin "Stopping Cisco VPN Client"
- if [ -x $VPNCLIENT ]; then
- $VPNCLIENT disconnect > /dev/null 2>&1
- fi
/sbin/lsmod | grep -q "${VPNMOD}"
if [ "$?" != "0" ] ; then
eend 1 "Failed: module ${VPNMOD} is not running"
return 1
fi
+ if [ -x $VPNCLIENT ]; then
+ $VPNCLIENT disconnect > /dev/null 2>&1
+ sleep 1
+ fi
/sbin/ifconfig $VPNDEV down
if [ "$?" != "0" ] ; then
eend 1 "Failed (ifconfig)"