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) { list($master_ethX,$root) = explode(' ',$locked); $reason = "member of $master_ethX (see interface $root)"; $class = 'green-text'; } elseif (!exec("ip link show ethX|grep -om1 'UP>'")) { $reason = "shutdown (inactive)"; $class = 'blue-text'; $cmd = 'Up'; } elseif (empty($ethX)) { $reason = "not configured"; $class = 'red-text'; } else { $more = false; $class = ''; } ?>
Interface description: : " onchange="exitCode(this.form,true)"> > Use this field to give addditional information about the purpose of the connection.
  : must be Stopped to change (see [Settings](/Settings))