mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
net/mwan3: fix ubus output for mwan3track running state
Fix ubus output for mwan3track running state Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -37,7 +37,7 @@ get_mwan3_status() {
|
||||
local pid
|
||||
|
||||
if [ "${iface}" = "${iface_select}" ] || [ "${iface_select}" = "" ]; then
|
||||
pid="$(pgrep -f "mwan3track $iface_selected")"
|
||||
pid="$(pgrep -f "mwan3track $iface")"
|
||||
if [ "${pid}" != "" ]; then
|
||||
running="1"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user