aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sqm-scripts/10-function.sh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sqm-scripts/10-function.sh.patch')
-rw-r--r--testing/sqm-scripts/10-function.sh.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/sqm-scripts/10-function.sh.patch b/testing/sqm-scripts/10-function.sh.patch
new file mode 100644
index 0000000000..6dd05dd55a
--- /dev/null
+++ b/testing/sqm-scripts/10-function.sh.patch
@@ -0,0 +1,11 @@
+--- sqm-scripts-1.0.6/src/functions.sh.orig
++++ sqm-scripts-1.0.6/src/functions.sh
+@@ -70,7 +70,7 @@
+
+ do_modules() {
+ for m in $ALL_MODULES; do
+- [ -d /sys/modules/${m} ] && ${INSMOD} $m 2>>${OUTPUT_TARGET}
++ [ -d /sys/module/${m} ] || ${INSMOD} $m 2>>${OUTPUT_TARGET}
+ done
+ }
+