luci-app-mwan3: Fix "ip" command path

Fixed an issue that mwan3 fails to detect connection because "ip"
command relocated.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
This commit is contained in:
INAGAKI Hiroshi 2017-05-15 15:24:42 +09:00
parent d04f667383
commit 0999f64f08

View file

@ -3,7 +3,7 @@ module("luci.controller.mwan3", package.seeall)
sys = require "luci.sys"
ut = require "luci.util"
ip = "/usr/bin/ip -4 "
ip = "ip -4 "
function index()
if not nixio.fs.access("/etc/config/mwan3") then