mirror of
https://github.com/gSpotx2f/luci-app-internet-detector.git
synced 2025-12-06 03:26:50 +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