From db70581045375cd6012b61b02372299a5c22a52b Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Sat, 12 Mar 2022 11:35:10 +0100 Subject: [PATCH 1/2] mention making pull requests to the dev branch --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f918ca0..d5becd9 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ cd quickpassthrough I know my bash skills are not great, so help is always welcome! And help is wanted here. -If you know bash well, you will be able to help! Just make a pull request with your changes! +If you know bash well, you will be able to help! Just make a pull request to the [dev branch](https://github.com/HikariKnight/quickpassthrough/tree/dev) with your changes! Just remember to add comments to document the work and explain it for people who are less familiar with the bash syntax or anything else you use. 😄 Also if you know English, you can help by just proof reading. English is not my native language, plus I have dyslexia so I often make spelling mistakes. From ddb37dc738480a81d3e5b181e9033b34ddb08374 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 2/2] fix broken variables --- 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 () {