mirror of
https://github.com/gSpotx2f/luci-app-internet-detector.git
synced 2026-01-27 04:40:36 +03:00
Minor fixes
This commit is contained in:
@@ -441,12 +441,6 @@ function InternetDetector:status()
|
||||
return "stoped"
|
||||
end
|
||||
|
||||
function InternetDetector:poll()
|
||||
local retCode = self:checkHosts()
|
||||
return string.format('{"instances":[%s]}', self:statusJson(
|
||||
retCode, self.serviceConfig.instance))
|
||||
end
|
||||
|
||||
function InternetDetector:inetStatus()
|
||||
local inetStat = '{"instances":[]}'
|
||||
local ok, commonDir = pcall(dirent.files, self.commonDir)
|
||||
|
||||
Reference in New Issue
Block a user