Browse Source

Also pass SQM_VERBOSITY_MAX to the stop_sqm invocation so that
debug output from sqm_stop() works.

Guidosarducci found this bug and proposed a more comprehensive
restructuring of passing variables to stop_sqm. This commit
only aims at fixing the bug without prejudice, so the more
comprehensive version is still an option.)

Signed-off-by: Sebastian Moeller <moeller0@gmx.de>

Sebastian Moeller 6 years ago
parent
commit
141369edee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/run-openwrt.sh

+ 1 - 1
src/run-openwrt.sh

@@ -22,7 +22,7 @@ stop_statefile() {
     # there.
     [ -f "$f" ] && ( . "$f";
                      IFACE=$IFACE SCRIPT=$SCRIPT SQM_DEBUG=$SQM_DEBUG \
-                          SQM_DEBUG_LOG=$SQM_DEBUG_LOG \
+                          SQM_DEBUG_LOG=$SQM_DEBUG_LOG SQM_VERBOSITY_MAX=$SQM_VERBOSITY_MAX \
                           OUTPUT_TARGET=$OUTPUT_TARGET ${SQM_LIB_DIR}/stop-sqm )
 }