Annotate generated lines
The lines above some are credited elsewhere (sensors-detect) so I feel correct attribution might be helpful in the future
This commit is contained in:
parent
ba632608b9
commit
d1044e1b40
1 changed files with 8 additions and 4 deletions
|
@ -5,14 +5,18 @@ function set_MODULES () {
|
||||||
source "$SCRIPTDIR/lib/paths.sh"
|
source "$SCRIPTDIR/lib/paths.sh"
|
||||||
|
|
||||||
# Write "/etc/modules"
|
# Write "/etc/modules"
|
||||||
printf "vfio
|
printf "
|
||||||
|
# Generated by vfio-setup
|
||||||
|
vfio
|
||||||
vfio_iommu_type1
|
vfio_iommu_type1
|
||||||
vfio_pci ids=$1
|
vfio_pci ids=$1
|
||||||
vfio_virqfd
|
vfio_virqfd
|
||||||
" >> "$SCRIPTDIR/$MODULES"
|
" >> "$SCRIPTDIR/$MODULES"
|
||||||
|
|
||||||
# Write "/etc/initramfs-tools/modules"
|
# Write "/etc/initramfs-tools/modules"
|
||||||
printf "vfio
|
printf "
|
||||||
|
# Generated by vfio-setup
|
||||||
|
vfio
|
||||||
vfio_iommu_type1
|
vfio_iommu_type1
|
||||||
vfio_pci
|
vfio_pci
|
||||||
vfio_virqfd
|
vfio_virqfd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue