|
@@ -55,13 +55,14 @@ run_sqm_scripts() {
|
|
|
export TARGET=$(config_get "$section" target)
|
|
|
export SQUASH_DSCP=$(config_get "$section" squash_dscp)
|
|
|
export SQUASH_INGRESS=$(config_get "$section" squash_ingress)
|
|
|
+ export SQM_VERBOSITY=$(config_get "$section" verbosity)
|
|
|
|
|
|
export QDISC=$(config_get "$section" qdisc)
|
|
|
export SCRIPT=$(config_get "$section" script)
|
|
|
|
|
|
|
|
|
#sm: if SQM_DEBUG was passed in via the command line make it available to the other scripts
|
|
|
- [ -z "$SQM_DEBUG" ] && export SQM_DEBUG
|
|
|
+ [ -n "$SQM_DEBUG" ] && export SQM_DEBUG || export SQM_DEBUG=$(config_get "$section" debug_logging)
|
|
|
|
|
|
#sm: only stop-sqm if there is something running
|
|
|
CUR_STATE_FILE="${SQM_STATE_DIR}/${IFACE}.state"
|