indent to match the rest of the scripts
This commit is contained in:
parent
259437ca1f
commit
58aba29d40
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
# Script from Wendell from Level1Tech
|
# Script from Wendell from Level1Tech
|
||||||
# Originally from here: https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639
|
# Originally from here: https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639
|
||||||
for d in /sys/kernel/iommu_groups/*/devices/*; do
|
for d in /sys/kernel/iommu_groups/*/devices/*; do
|
||||||
n=${d#*/iommu_groups/*}; n=${n%%/*}
|
n=${d#*/iommu_groups/*}; n=${n%%/*}
|
||||||
printf 'IOMMU Group %s: ' "$n"
|
printf 'IOMMU Group %s: ' "$n"
|
||||||
lspci -nns "${d##*/}"
|
lspci -nns "${d##*/}"
|
||||||
done
|
done
|
Loading…
Add table
Add a link
Reference in a new issue