git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
d04f667
)
luci-app-mwan3: Fix "ip" command path
author
INAGAKI Hiroshi
<redacted>
Mon, 15 May 2017 06:24:42 +0000
(15:24 +0900)
committer
INAGAKI Hiroshi
<redacted>
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 <redacted>
applications/luci-app-mwan3/luasrc/controller/mwan3.lua
patch
|
blob
|
history
diff --git
a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua
b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua
index d3fd150692bc3079bd23ce9b79ea2aaa972ce32b..ca39c9bf30346e1b0f1d48a3233fa307c51a82ae 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT