Cleanup in 30-network.menu.
[ipfire-2.x.git] / config / menu / 30-network.menu
1     $subnetwork->{'10.netconf'} = {'caption' => "$Lang::tr{'net config'}",
2                                 'uri' => '/cgi-bin/netconfig.cgi',
3                                 'title' => "$Lang::tr{'net config'}",
4                                 'enabled' => 0,
5                                 };
6     $subnetwork->{'20.proxy'} = {'caption' => 'Webproxy',
7                                 'uri' => '/cgi-bin/proxy.cgi',
8                                 'title' => "Webproxy",
9                                 'enabled' => 1,
10                                 };
11     $subnetwork->{'21.urlfilter'} = {'caption' => $Lang::tr{'url filter'},
12                                 'uri' => '/cgi-bin/urlfilter.cgi',
13                                 'title' => $Lang::tr{'url filter'},
14                                 'enabled' => 1,
15                                 };
16     $subnetwork->{'22.updxlrator'} = {'caption' => $Lang::tr{'update accelerator'},
17                                 'uri' => '/cgi-bin/updatexlrator.cgi',
18                                 'title' => $Lang::tr{'update accelerator'},
19                                 'enabled' => 1,
20                                 };
21     $subnetwork->{'30.dhcp'} = {'caption' => $Lang::tr{'dhcp server'},
22                                  'uri' => '/cgi-bin/dhcp.cgi',
23                                  'title' => "$Lang::tr{'dhcp server'}",
24                                  'enabled' => 1,
25                                  };
26     $subnetwork->{'40.scheduler'} = {
27                                  'caption' => $Lang::tr{'connscheduler'},
28                                  'uri' => '/cgi-bin/connscheduler.cgi',
29                                  'title' => "$Lang::tr{'connscheduler'}",
30                                  'enabled' => 1,
31                                  };
32     $subnetwork->{'50.hosts'} = {
33                                  'caption' => $Lang::tr{'edit hosts'},
34                                  'uri' => '/cgi-bin/hosts.cgi',
35                                  'title' => "$Lang::tr{'edit hosts'}",
36                                  'enabled' => 1,
37                                  };
38     $subnetwork->{'51.routes'} = {
39                                  'caption' => $Lang::tr{'static routes'},
40                                  'uri' => '/cgi-bin/routing.cgi',
41                                  'title' => "$Lang::tr{'static routes'}",
42                                  'enabled' => 1,
43                                  };
44     $subnetwork->{'60.aliases'} = {
45                                   'caption' => $Lang::tr{'aliases'},
46                                   'uri' => '/cgi-bin/aliases.cgi',
47                                   'title' => "$Lang::tr{'aliases'}",
48                                   'enabled' => `grep "RED_TYPE=STATIC" /var/ipfire/ethernet/settings`,
49                                   };
50     $subnetwork->{'70.dnsmenu'} = {
51                                   'caption' => $Lang::tr{'dns menu'},
52                                   'uri' => '/cgi-bin/dns.cgi',
53                                   'title' => "$Lang::tr{'dns menu'}",
54                                   'enabled' => `grep "RED_TYPE=DHCP" /var/ipfire/ethernet/settings`,
55                                   };
56     $subnetwork->{'80.macadressmenu'} = {
57                                   'caption' => $Lang::tr{'mac address menu'},
58                                   'uri' => '/cgi-bin/mac.cgi',
59                                   'title' => "$Lang::tr{'mac address menu'}",
60                                   'enabled' => 1,
61                                   };
62     $subnetwork->{'90.wakeonlan'} = {
63                                   'caption' => $Lang::tr{'WakeOnLan'},
64                                   'uri' => '/cgi-bin/wakeonlan.cgi',
65                                   'title' => "$Lang::tr{'WakeOnLan'}",
66                                   'enabled' => 1,
67                                   };