]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
network scripts: remove check for AUTOCONNECT
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Tue, 29 Aug 2023 08:52:40 +0000 (10:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Sep 2023 15:15:53 +0000 (15:15 +0000)
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 <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/network

index ecc007a472d7bb20370b4361d1471bd32c49c2d0..b38c3836cb5af4dd65ec17b218a3763b7be5bff9 100644 (file)
@@ -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