From: INAGAKI Hiroshi Date: Mon, 15 May 2017 06:24:42 +0000 (+0900) Subject: luci-app-mwan3: Fix "ip" command path X-Git-Url: http://git.openwrt.org/project/luci.git?p=project%2Fluci.git;a=commitdiff_plain;h=0999f64f087654a85b67ef862847b11145654ed7 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 --- diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index d3fd150692..ca39c9bf30 100644 --- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua +++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua @@ -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