mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Use only ACLs to control network interfaces on Dashboard
This commit is contained in:
@ -1,3 +1,2 @@
|
||||
hosts_file=/etc/hosts
|
||||
def_netmask=255.255.255.0
|
||||
sysinfo=1
|
@ -3,4 +3,3 @@ ipnodes_file=File listing IPv6 hosts and addresses,0
|
||||
def_netmask=Default netmask,0
|
||||
def_broadcast=Default broadcast address,0
|
||||
def_mtu=Default MTU,0
|
||||
sysinfo=Show available network interfaces on Dashboard,1,1-Yes,0-No
|
||||
|
@ -4,7 +4,7 @@ sub list_system_info
|
||||
{
|
||||
my $can = &foreign_available($module_name) && $access{'sysinfo'};
|
||||
|
||||
if ((length($config{'sysinfo'}) && !$config{'sysinfo'}) || !$can) {
|
||||
if (!$can) {
|
||||
return ();
|
||||
}
|
||||
my %net_text = &load_language($module_name);
|
||||
|
Reference in New Issue
Block a user