From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: development@lists.ipfire.org Subject: [PATCH 4/5] network scripts: remove check for AUTOCONNECT Date: Tue, 29 Aug 2023 10:52:40 +0200 Message-ID: <20230829085241.6985-4-jonatan.schlag@ipfire.org> In-Reply-To: <20230829085241.6985-1-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1450588682849329440==" List-Id: --===============1450588682849329440== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This setting is also old (2007) and cannot be set via the webinterface anymore. So why checking for something, which can only be true. Signed-off-by: Jonatan Schlag --- src/initscripts/system/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initscripts/system/network b/src/initscripts/system/network index ecc007a47..b38c3836c 100644 --- a/src/initscripts/system/network +++ b/src/initscripts/system/network @@ -65,7 +65,7 @@ case "${DO}" in if [ "$red" =3D=3D "1" ]; then # Remove possible leftover files rm -f /var/ipfire/red/{active,device,dial-on-demand,dns1,dns2,local-ipadd= ress,remote-ipaddress,resolv.conf} - [ "$AUTOCONNECT" =3D=3D "off" ] || /etc/rc.d/init.d/networking/red start + /etc/rc.d/init.d/networking/red start fi =20 # Create IPsec interfaces --=20 2.39.2 --===============1450588682849329440==--