0):
$wol_entry_is_displayed = false;
foreach ($wolcomputers as $wolent):
if (in_array(get_wolent_key($wolent), $skipwols)) {
continue;
}
$wol_entry_is_displayed = true;
$is_active = exec("/usr/sbin/arp -an |/usr/bin/grep {$wolent['mac']}| /usr/bin/wc -l|/usr/bin/awk '{print $1;}'");
$status = exec("/usr/sbin/arp -an | /usr/bin/awk '$4 == \"{$wolent['mac']}\" { print $7 }'");
?>
= $wolent['descr'] ?>
= $wolent['mac'] ?>
|
= convert_friendly_interface_to_friendly_descr($wolent['interface']) ?>
|
">
">
">
|
">
|
=gettext("All WoL entries are hidden.")?> |
= gettext("No saved WoL addresses") ?> |
$dhcp) {
if (isset($dhcp['enable']) && isset($config['interfaces'][$dhcpif]['enable'])) {
$dhcpd_enabled = true;
break;
}
}
}
?>
=gettext('DHCP Leases Status')?>