Menu="parentname:nnn" Title="_(Interface)_ ethX" Tag="icon-ethernet" --- $val) {$vlan_ethX[] = index($key); $sort_ethX[] = (int)$val;} array_multisort($sort_ethX,$vlan_ethX); $cmd = 'Down'; $more = true; if (strpos($locked,'bond')===0 || strpos($locked,'br')===0) { [$master_ethX,$root] = my_explode(' ',$locked); $reason = _('member of')." $master_ethX ("._('see interface')." $root)"; $class = 'green-text'; } elseif (exec("ip -br link show ethX | awk '{print \$2;exit}'")=='DOWN') { $reason = _("shutdown")." ("._("inactive").")"; $class = 'blue-text'; $cmd = 'Up'; } elseif (empty($ethX)) { $reason = _("not configured"); $class = 'red-text'; } else { $more = false; $class = ''; } ?>
_(Interface description)_: : "> :eth_interface_description_help: _(MAC address)_: : :eth_mac_address_help:
_(Enable bonding)_: : :eth_enable_bonding_help:
_(Bonding mode)_: : **_(Attention)_:** _(this mode requires a network switch with proper setup and support)_... :eth_bonding_mode_help: _(Bonding members of)_ bondX: : :eth_bonding_members_help:
_(Enable bridging)_: : :eth_enable_bridging_help:
_(Bridging members of)_ brX: : :eth_bridging_members_help:
_(Network protocol)_: : :eth_network_protocol_help:
_(IPv4 address assignment)_: : > :eth_ipv4_address_assignment_help:
_(IPv4 address)_: : " class="narrow" pattern="" title="_(IPv4 address A.B.C.D)_">/ :eth_ipv4_address_help:
_(IPv4 default gateway)_: : " class="narrow" pattern="" title="_(IPv4 address A.B.C.D)_"> " class="slim"> ** :eth_ipv4_default_gateway_help:
_(IPv6 address assignment)_: : > :eth_ipv6_address_assignment_help:
_(IPv6 address)_: : " pattern="" title="_(IPv6 address nnnn:xxxx::yyyy)_">/" class="slim"> :eth_ipv6_address_help:
_(IPv6 default gateway)_: : " pattern="" title="_(IPv6 address nnnn:xxxx::yyyy)_"> " class="slim"> ** :eth_ipv6_default_gateway_help:
_(IPv6 privacy extensions)_: : :eth_ipv6_privacy_extensions_help:
_(Desired MTU)_: : > >  :eth_desired_mtu_help: _(Enable VLANs)_: : :eth_enable_vlans_help:
_(Interface description)_: : "> )"> :eth_interface_description_help: _(VLAN number)_: : " class="narrow gap" required> :eth_vlan_number_help: _(Network protocol)_: : :eth_network_protocol_help:
_(IPv4 address assignment)_: : > :eth_ipv4_address_assignment_help:
_(IPv4 address)_: : " class="narrow" pattern="" title="_(IPv4 address A.B.C.D)_">/ :eth_ipv4_address_help:
_(IPv4 default gateway)_: : " class="narrow" pattern="" title="_(IPv4 address A.B.C.D)_"> " class="slim"> ** :eth_ipv4_default_gateway_help:
_(IPv6 address assignment)_: : > :eth_ipv6_address_assignment_help:
_(IPv6 address)_: : " pattern="" title="_(IPv6 address nnnn:xxxx::yyyy)_">/" class="slim"> :eth_ipv6_address_help:
_(IPv6 default gateway)_: : " pattern="" title="_(IPv6 address nnnn:xxxx::yyyy)_"> " class="slim"> ** :eth_ipv6_default_gateway_help:
_(IPv6 privacy extensions)_: : :eth_ipv6_privacy_extensions_help:
  : '._('Settings').')'?>