From 0999f64f087654a85b67ef862847b11145654ed7 Mon Sep 17 00:00:00 2001 From: INAGAKI Hiroshi Date: Mon, 15 May 2017 15:24:42 +0900 Subject: [PATCH] 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 --- applications/luci-app-mwan3/luasrc/controller/mwan3.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index d3fd15069..ca39c9bf3 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 -- 2.11.0