From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: development@lists.ipfire.org Subject: [Patch RFC 06/15] network scripts: remove check for AUTOCONNECT Date: Tue, 23 May 2023 19:23:06 +0200 Message-ID: <20230523172314.7826-7-jonatan.schlag@ipfire.org> In-Reply-To: <20230523172314.7826-1-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4983763085459073848==" List-Id: --===============4983763085459073848== 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 146b3fda8..6a47456f3 100644 --- a/src/initscripts/system/network +++ b/src/initscripts/system/network @@ -63,7 +63,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 /etc/rc.d/init.d/static-routes start --=20 2.30.2 --===============4983763085459073848==--