From: Jonatan Schlag Date: Tue, 29 Aug 2023 08:52:40 +0000 (+0200) Subject: network scripts: remove check for AUTOCONNECT X-Git-Tag: v2.27-core180~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2e90a6e0e9b47c3a0c47255e4c96b3fce7926e1;p=ipfire-2.x.git network scripts: remove check for AUTOCONNECT 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 Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/network b/src/initscripts/system/network index ecc007a472..b38c3836cb 100644 --- a/src/initscripts/system/network +++ b/src/initscripts/system/network @@ -65,7 +65,7 @@ case "${DO}" in if [ "$red" == "1" ]; then # Remove possible leftover files rm -f /var/ipfire/red/{active,device,dial-on-demand,dns1,dns2,local-ipaddress,remote-ipaddress,resolv.conf} - [ "$AUTOCONNECT" == "off" ] || /etc/rc.d/init.d/networking/red start + /etc/rc.d/init.d/networking/red start fi # Create IPsec interfaces