luci-base: update call file path for ppp (#86)

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
This commit is contained in:
Beginner 2021-12-01 21:32:07 +08:00 committed by GitHub
parent 87d547c8b7
commit 7ce9519f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ local fs = require "nixio.fs"
local nx = require "nixio"
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")