From a3e3fb34a836e127fc1e88563c325683a06b8eaa Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Thu, 10 Mar 2022 16:48:33 +0100 Subject: [PATCH] appease shellcheck --- vfio-setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vfio-setup b/vfio-setup index 7a1a1a8..381f132 100755 --- a/vfio-setup +++ b/vfio-setup @@ -44,7 +44,7 @@ Press ENTER to continue once you have made a backup of your system. read ENTER clear -printf "This script assumes a few things: +echo "This script assumes a few things: * You have already enabled IOMMU, VT-d and/or AMD-v inside your UEFI/BIOS advanced settings. * You have already added \"$CMDLINE\" to your kernel boot arguments and booted your system with these kernel arguments active. @@ -122,7 +122,7 @@ LS_IOMMU=$($SCRIPTDIR/utils/ls-iommu) if [[ $LS_IOMMU =~ ^IOMMU[[:space:]]Group[[:space:]]+\*: ]]; then # Tell user to enable IOMMU then try again - printf "IOMMU IS NOT ENABLED! + echo "IOMMU IS NOT ENABLED! Please enable IOMMU, VT-d or AMD-v inside your UEFI/BIOS and add \"$CMDLINE\" to your kernel boot arguments and reboot your system, then re-run this script! " @@ -142,13 +142,13 @@ case "${YESNO}" in clear ;; [Nn]*) - printf "Please enable IOMMU, VT-d or AMD-v inside your UEFI/BIOS and add \"$CMDLINE\" + echo "Please enable IOMMU, VT-d or AMD-v inside your UEFI/BIOS and add \"$CMDLINE\" to your kernel boot arguments and reboot your system, then re-run this script! " exit 1 ;; *) - printf "Please enable IOMMU, VT-d or AMD-v inside your UEFI/BIOS and add \"$CMDLINE\" + echo "Please enable IOMMU, VT-d or AMD-v inside your UEFI/BIOS and add \"$CMDLINE\" to your kernel boot arguments and reboot your system, then re-run this script! " exit 1