mirror of
https://github.com/coolsnowwolf/luci.git
synced 2025-05-02 03:40:39 +08:00
luci-base: update call file path for ppp (#86)
Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
This commit is contained in:
parent
87d547c8b7
commit
7ce9519f1b
@ -8,7 +8,7 @@ local fs = require "nixio.fs"
|
|||||||
local nx = require "nixio"
|
local nx = require "nixio"
|
||||||
|
|
||||||
local has_pptp = fs.access("/usr/sbin/pptp")
|
local has_pptp = fs.access("/usr/sbin/pptp")
|
||||||
local has_pppoe = fs.glob("/usr/lib/pppd/*/rp-pppoe.so")()
|
local has_pppoe = fs.glob("/usr/lib/pppd/*/*pppoe.so")()
|
||||||
|
|
||||||
local network = luci.model.uci.cursor_state():get_all("network")
|
local network = luci.model.uci.cursor_state():get_all("network")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user