summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-08-29 13:32:55 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-08-29 13:32:55 +0000
commit039eb7e347712f226bb7746eb6b8e8b95e6d1d8e (patch)
tree08f2d2ba2932007ca3dae8a88096016de52c9378 /net-misc/vpnc
parentStable on amd64 wrt bug #189569 (diff)
downloadgentoo-2-039eb7e347712f226bb7746eb6b8e8b95e6d1d8e.tar.gz
gentoo-2-039eb7e347712f226bb7746eb6b8e8b95e6d1d8e.tar.bz2
gentoo-2-039eb7e347712f226bb7746eb6b8e8b95e6d1d8e.zip
make fall back possible on VPNCOUTPUT...if it is not defined or not yes, just not display anything
(Portage version: 2.1.2.12)
Diffstat (limited to 'net-misc/vpnc')
-rw-r--r--net-misc/vpnc/ChangeLog6
-rw-r--r--net-misc/vpnc/files/vpnc-1.init4
2 files changed, 7 insertions, 3 deletions
diff --git a/net-misc/vpnc/ChangeLog b/net-misc/vpnc/ChangeLog
index c86757c8224b..0a2e6eeb18d8 100644
--- a/net-misc/vpnc/ChangeLog
+++ b/net-misc/vpnc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/vpnc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.44 2007/08/25 15:29:00 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.45 2007/08/29 13:32:55 opfer Exp $
+
+ 29 Aug 2007; Christian Faulhammer <opfer@gentoo.org> files/vpnc-1.init:
+ make fall back possible on VPNCOUTPUT...if it is not defined or not yes,
+ just not display anything
*vpnc-0.4.0-r4 (25 Aug 2007)
diff --git a/net-misc/vpnc/files/vpnc-1.init b/net-misc/vpnc/files/vpnc-1.init
index cd96eb5373ff..315db9cf4a01 100644
--- a/net-misc/vpnc/files/vpnc-1.init
+++ b/net-misc/vpnc/files/vpnc-1.init
@@ -2,7 +2,7 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-1.init,v 1.1 2007/08/25 15:29:00 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-1.init,v 1.2 2007/08/29 13:32:55 opfer Exp $
VPNDIR="/etc/vpnc"
VPN="${SVCNAME#*.}"
@@ -36,7 +36,7 @@ checktundevice() {
screenoutput() {
if [ "${VPNCOUTPUT}" = "yes" ]; then
export SCREEN_OUTPUT="/dev/stdout"
- elif [ "${VPNCOUTPUT}" = "no" ]; then
+ else
export SCREEN_OUTPUT="/dev/null"
fi
}