From 2cd4ceb2e5125a5f44e7f441ef9754c9b86fbf93 Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Sat, 12 Mar 2022 12:14:47 +0100 Subject: [PATCH] fix broken variables (cherry picked from commit ddb37dc738480a81d3e5b181e9033b34ddb08374) --- lib/set_MODULES.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/set_MODULES.sh b/lib/set_MODULES.sh index 0675edd..1a839ae 100755 --- a/lib/set_MODULES.sh +++ b/lib/set_MODULES.sh @@ -16,7 +16,7 @@ function insert_MODULES() { fi # Write header - echo "$ETCMODULES_HEADER" > "$2" + echo "$MODULES_HEADER" > "$2" # If vendor-reset existed from before if [ $VENDOR_RESET == 1 ]; @@ -36,7 +36,7 @@ vfio_virqfd " >> "$2" # Write the previously enabled modules under vfio in the load order - echo "$ETCMODULES_ENABLED" >> "$2" + echo "$MODULES_ENABLED" >> "$2" } function set_MODULES () {