mirror of
https://github.com/unraid/webgui.git
synced 2026-04-26 12:20:42 -05:00
Use shorthand javascript calls
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
switch ($_GET['table']) {
|
||||
switch ($_POST['table']) {
|
||||
case 't1':
|
||||
$groups = shell_exec('for group in $(ls /sys/kernel/iommu_groups/ -1|sort -n);do echo "IOMMU group $group"; for device in $(ls -1 "/sys/kernel/iommu_groups/$group"/devices/); do echo -n $\'\t\';lspci -ns "$device"|awk \'BEGIN{ORS=" "}{print "["$3"]"}\';lspci -s "$device"; done; done');
|
||||
if (empty($groups)) {
|
||||
|
||||
Reference in New Issue
Block a user