mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 14:03:00 +02:00
No longer disable proxy when GREEN isn't present
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
6d11cd4375
commit
2d56b4869a
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user