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:
Phil 2022-03-04 00:05:28 +00:00
parent ba632608b9
commit d1044e1b40

View file

@ -5,14 +5,18 @@ function set_MODULES () {
source "$SCRIPTDIR/lib/paths.sh"
# Write "/etc/modules"
printf "vfio
printf "
# Generated by vfio-setup
vfio
vfio_iommu_type1
vfio_pci ids=$1
vfio_virqfd
" >> "$SCRIPTDIR/$MODULES"
# Write "/etc/initramfs-tools/modules"
printf "vfio
printf "
# Generated by vfio-setup
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd