Skip to content

Commit

Permalink
Double quote for sqm-autorate config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Dec 13, 2023
1 parent b8d2414 commit 4e8f584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqm-autorate/files/usr/share/sqm-autorate/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Modified by Ycarus (Yannick Chabanois) for OpenMPTCProuter:
# * Get configuration via uci

INTERFACE=$1
INTERFACE="$1"

# *** OUTPUT OPTIONS ***

Expand All @@ -26,10 +26,10 @@ debug=1

#dl_if=ifb4eth1 # download interface
#dl_if=$(uci -q get sqm.${INTERFACE}.download_interface)
dl_if=ifb4$(uci -q get sqm.${INTERFACE}.interface)
dl_if="ifb4$(uci -q get sqm.${INTERFACE}.interface)"
#ul_if=eth1 # upload interface
#ul_if=$(uci -q get sqm.${INTERFACE}.upload_interface)
ul_if=$(uci -q get sqm.${INTERFACE}.interface)
ul_if="$(uci -q get sqm.${INTERFACE}.interface)"

#reflector_ping_interval_s=0.2 # (seconds, e.g. 0.2s or 2s)
reflector_ping_interval_s=$(uci -q get sqm.${INTERFACE}.reflector_ping_interval_s || echo "0.2")
Expand Down

0 comments on commit 4e8f584

Please sign in to comment.