[PATCH] vpnc-script: fix for Suse pre 11.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux