header(); if(!Auth::hasPermission('SERVER::VIEW')) { ?> footer(); exit(); } $link = json_decode(`lshw -C network -json`); foreach($link AS $device) { if($device->class != 'network') { continue; } ?>
description; ?>
logicalname; ?>
configuration->driver == 'bonding') { } else { ?>

capacity; ?> units; ?>

"; print_r(`lshw -C network -json`); print_r(json_decode(`ip --json address show`)); print_r(json_decode(`ip --json link show`)); print_r(json_decode(`ip --json route show`)); $this->footer(); ?>