summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2017-05-15 15:24:42 +0900
committerINAGAKI Hiroshi <musashino.open@gmail.com>2017-05-15 15:24:42 +0900
commit0999f64f087654a85b67ef862847b11145654ed7 (patch)
treeb635c4585c6b5c4f009bf3d66b6fa853156fb98d
parentd04f667383ec2894a5ecefde7ad9284d07563a67 (diff)
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>
-rw-r--r--applications/luci-app-mwan3/luasrc/controller/mwan3.lua2
1 files changed, 1 insertions, 1 deletions
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