Use shorthand javascript calls

This commit is contained in:
bergware
2017-10-14 17:48:59 +02:00
parent b51488d321
commit c4b8160599
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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)) {