From 4f0420b67434ac9b8e2a9a52dd9da125615fc288 Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Thu, 10 Mar 2022 16:14:13 +0100 Subject: [PATCH] make shellcheck happy --- lib/set_CMDLINE.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/set_CMDLINE.sh b/lib/set_CMDLINE.sh index 2a5ea26..33b95d0 100755 --- a/lib/set_CMDLINE.sh +++ b/lib/set_CMDLINE.sh @@ -5,9 +5,10 @@ function set_CMDLINE () { # Get the config paths source "${SCRIPTDIR}/lib/paths.sh" - local CMDLINE=$(cat "${SCRIPTDIR}/config/kernel_args") + local CMDLINE + CMDLINE=$(cat "${SCRIPTDIR}/config/kernel_args") - printf "Configuration is now complete, however no changes have been done to your system. + echo "Configuration is now complete, however no changes have been done to your system. The files needed have just been written to $SCRIPTDIR/config/etc At this point if you know what you are doing, you can use these files to enable VFIO on your system