From eb4bec07299539174e71ae408fde1cc1c8475bd2 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Wed, 12 Apr 2023 09:42:44 +0800 Subject: [PATCH] Update build_backend.sh --- build_backend.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build_backend.sh b/build_backend.sh index a9afe25..e911f9b 100644 --- a/build_backend.sh +++ b/build_backend.sh @@ -35,12 +35,12 @@ if [ `grep $iommu /etc/default/grub|wc -l` = 0 ];then sed -i 's|quiet|quiet '$iommu'|' /etc/default/grub update-grub if [ `grep "vfio" /etc/modules|wc -l` = 0 ];then - cat <<-EOF >> /etc/modules - vfio - vfio_iommu_type1 - vfio_pci - vfio_virqfd - EOF +cat <<-EOF >> /etc/modules + vfio + vfio_iommu_type1 + vfio_pci + vfio_virqfd +EOF fi else _green "已设置硬件直通"