Skip to content

Commit

Permalink
Update ffac-ssid-changer/luasrc/lib/gluon/ssid-changer/ssid-changer.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerle authored Nov 24, 2024
1 parent 2d64684 commit bd2b0d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ local function calculate_tq_limit()
local tq_limit_min = tonumber(uci:get('ssid-changer', 'settings', 'tq_limit_min') or 35)
local gateway_tq

local handle = io.popen('batctl gwl -H | grep -e "^\\*" | awk -F"[()]" "{print $2}" | tr -d " "')
local handle = io.popen('batctl gwl -H | grep -e "^\\*" | awk -F"[()]" \'{print $2}\' | tr -d " "')
gateway_tq = tonumber(handle:read("*a"))
handle:close()

Expand Down

0 comments on commit bd2b0d3

Please sign in to comment.