[PATCH] vpnc-script: fix for Suse pre 11.1
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5818 bytes
Desc: not available
More information about the openconnect-devel