On 25 January 2016 at 10:50, Paul Wouters <[email protected]> wrote:
> Cagney wrote:
>> For instance, both swan-transmogrify and swan-prep screw
>> around with the contents of /etc/ipsec.d/*.
Slight correction :-)
swan-prep completely deletes the ipsec config that swan-transmogrify
carefully created, vis:
# wipe any old configs in /etc/ipsec.*
if os.path.isfile("/etc/ipsec.conf"):
os.unlink("/etc/ipsec.conf")
if os.path.isfile("/etc/ipsec.secrets"):
os.unlink("/etc/ipsec.secrets")
if os.path.isdir("/etc/ipsec.d"):
shutil.rmtree("/etc/ipsec.d")
os.mkdir("/etc/ipsec.d")
Andrew
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev