From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: development@lists.ipfire.org Subject: [Patch RFC 01/15] Remove ipsec interface creation from network startup Date: Tue, 23 May 2023 19:23:01 +0200 Message-ID: <20230523172314.7826-2-jonatan.schlag@ipfire.org> In-Reply-To: <20230523172314.7826-1-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5793570827344216333==" List-Id: --===============5793570827344216333== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit This is called several times in the boot process. It also depends on connectivity to the internet. So there is no point in calling it here when we do not know if we even have an internet connection. It is called in the ipsecctrl programm which is called in the start and shutdown process of red ( /etc/init.d/networking/red.down/10-ipsec and /etc/init.d/networking/red.up/50-ipsec). Signed-off-by: Jonatan Schlag --- src/initscripts/system/network | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/initscripts/system/network b/src/initscripts/system/network index 9ef3fb0d8..7e457edfa 100644 --- a/src/initscripts/system/network +++ b/src/initscripts/system/network @@ -70,9 +70,6 @@ case "${DO}" in fi fi - # Create IPsec interfaces - /usr/local/bin/ipsec-interfaces - /etc/rc.d/init.d/static-routes start boot_mesg "Mounting network file systems..." -- 2.30.2 --===============5793570827344216333==--