From 34be128a47762c967c596f7c2f739fa27b861379 Mon Sep 17 00:00:00 2001 From: Ben Allen Date: Wed, 13 Jan 2016 14:53:31 +0000 Subject: testing/sqm-scripts: new aport SQM scripts traffic shaper: https://github.com/tohojo/sqm-scripts --- testing/sqm-scripts/10-function.sh.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/sqm-scripts/10-function.sh.patch (limited to 'testing/sqm-scripts/10-function.sh.patch') 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 + } + -- cgit v1.2.3