[1/3] No longer disable proxy when GREEN isn't present

Message ID 20210805132832.7645-1-michael.tremer@ipfire.org
State Accepted
Commit 2d56b4869a57fb349da063ab436a54946ad6ae54
Headers show
Series [1/3] No longer disable proxy when GREEN isn't present | expand

Commit Message

Michael Tremer Aug. 5, 2021, 1:28 p.m. UTC
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/cfgroot/header.pl | 7 -------
 1 file changed, 7 deletions(-)

Patch

diff --git a/config/cfgroot/header.pl b/config/cfgroot/header.pl
index 83ef01951..79accbe8a 100644
--- a/config/cfgroot/header.pl
+++ b/config/cfgroot/header.pl
@@ -181,13 +181,6 @@  sub genmenu {
         $menu->{'03.network'}{'subMenu'}->{'80.macadressmenu'}{'enabled'} = 0;
         $menu->{'03.network'}{'subMenu'}->{'90.wakeonlan'}{'enabled'} = 0;
     }
-
-    # Disable proxy when no GREEN is available
-    if (!&green_used()) {
-        $menu->{'03.network'}{'subMenu'}->{'20.proxy'}{'enabled'} = 0;
-        $menu->{'03.network'}{'subMenu'}->{'21.urlfilter'}{'enabled'} = 0;
-        $menu->{'03.network'}{'subMenu'}->{'22.updxlrator'}{'enabled'} = 0;
-    }
   }
 }