[PATCH] vpnc-script: fix for Suse pre 11.1
David Woodhouse
dwmw2 at infradead.org
Mon Dec 12 15:46:49 EST 2011
On Tue, 2011-12-13 at 04:39 +0800, Antonio Borneo wrote:
> In this repository, vpnc-script.in has been converted
> to vpnc-script. Doing this, the value $SCRIPTNAME has
> changed from "vpnc" to "vpnc-script".
> This breaks the "restore" and left /etc/resolv.conf
> modified for the (already closed) VPN tunnel.
Hm, this happens because the script changes while the VPN is
*connected*, so it doesn't manage to tear down its own setup?
> Replace "-s $SCRIPTNAME" with fixed value "-s vpnc".
Should it be using $TUNDEV instead, perhaps? And does it matter that it
still says 'vpnc' when it's actually being invoked from openconnect?
Or should we just leave it with a hard-coded 'vpnc' and not worry about
it?
--
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5818 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20111212/2c17d0df/attachment.bin>
More information about the openconnect-devel
mailing list