Browse Source

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>
lilik-openwrt-22.03
Florian Eckert 7 years ago
parent
commit
487278dcd1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/mwan3/files/usr/libexec/rpcd/mwan3

+ 1
- 1
net/mwan3/files/usr/libexec/rpcd/mwan3 View File

@ -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


Loading…
Cancel
Save