luci-app-mwan3: Fix "ip" command path 1167/head
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Mon, 15 May 2017 06:24:42 +0000 (15:24 +0900)
committerINAGAKI Hiroshi <musashino.open@gmail.com>
Mon, 15 May 2017 06:24:42 +0000 (15:24 +0900)
Fixed an issue that mwan3 fails to detect connection because "ip"
command relocated.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
applications/luci-app-mwan3/luasrc/controller/mwan3.lua

index d3fd150692bc3079bd23ce9b79ea2aaa972ce32b..ca39c9bf30346e1b0f1d48a3233fa307c51a82ae 100644 (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