diff --git a/front/systeminfo.php b/front/systeminfo.php index b65941df..4e00ef9f 100644 --- a/front/systeminfo.php +++ b/front/systeminfo.php @@ -9,7 +9,7 @@ // Puche 2021 pi.alert.application@gmail.com GNU GPLv3 // jokob-sk 2022 jokob.sk@gmail.com GNU GPLv3 // leiweibau 2022 https://github.com/leiweibau GNU GPLv3 -// cvc90 2023 https://github.com/cvc90 GNU GPLv3 +// cvc90 2023 https://github.com/cvc90 GNU GPLv3 //------------------------------------------------------------------------------ ?> @@ -92,6 +92,9 @@ $hdd_result = shell_exec("df | awk '{print $5}'"); $hdd_devices_percent = explode("\n", trim($hdd_result)); $hdd_result = shell_exec("df | awk '{print $6}'"); $hdd_devices_mount = explode("\n", trim($hdd_result)); +//usb devices +$usb_result = shell_exec("lsusb"); +$usb_devices_mount = explode("\n", trim($usb_result)); // Client ---------------------------------------------------------- echo '
| Service Name | +Service Description | +
|---|---|
| ' . substr($servives_name, 0, -8) . ' | ' . $servives_description . ' |
| ' . str_replace('Device', 'Dev.', $usb_bus) . ' | ' . $usb_dev . ' |