]> git.99rst.org Git - openwrt-packages.git/commit
strongswan: move strongswan.conf generation to its own function
authorFlorian Eckert <redacted>
Thu, 9 Jul 2026 12:05:53 +0000 (14:05 +0200)
committerPhilip Prindeville <redacted>
Thu, 16 Jul 2026 20:27:36 +0000 (14:27 -0600)
commit8c2c290a4696c27180b40c1727638fe8b9141615
tree44c5e47d0d4a8fec1e3747c127668a9f4f1d3d63
parent2236aa1bcd1d8d2a0125017995ca700b909a742f
strongswan: move strongswan.conf generation to its own function

The cross-file handling of variables that are populated in 'config_ipsec' but
then written to 'strongswan.conf' in the 'do postamble' section is prone
to errors, as variables are often overlooked. The config file
'strongswan.conf' is now generated in a single function without the need to
use global variables.

This commit does not change the function and is a preparatory commit.

Signed-off-by: Florian Eckert <redacted>
net/strongswan/files/swanctl.init
git clone https://git.99rst.org/PROJECT