diff options
author | Ben Allen <bensallen@me.com> | 2016-01-13 14:53:31 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-01-19 12:51:54 +0000 |
commit | 34be128a47762c967c596f7c2f739fa27b861379 (patch) | |
tree | 816deda224f153ba0eca42caf8e2b8990e54c953 /testing/sqm-scripts/10-function.sh.patch | |
parent | 5b3b16cad875216eabf1261873ca97b850f94d4e (diff) | |
download | aports-34be128a47762c967c596f7c2f739fa27b861379.tar.bz2 aports-34be128a47762c967c596f7c2f739fa27b861379.tar.xz |
testing/sqm-scripts: new aport
SQM scripts traffic shaper: https://github.com/tohojo/sqm-scripts
Diffstat (limited to 'testing/sqm-scripts/10-function.sh.patch')
-rw-r--r-- | testing/sqm-scripts/10-function.sh.patch | 11 |
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 + } + |