gluon-luci-admin: remove unused function

This commit is contained in:
Nils Schneider 2014-02-19 01:24:33 +01:00
parent becc9e0751
commit d822af1518
1 changed files with 0 additions and 14 deletions

View File

@ -131,20 +131,6 @@ function action_upgrade()
end
end
function _keep_pattern()
local kpattern = ""
local files = luci.model.uci.cursor():get_all("luci", "flash_keep")
if files then
kpattern = ""
for k, v in pairs(files) do
if k:sub(1,1) ~= "." and nixio.fs.glob(v)() then
kpattern = kpattern .. " " .. v
end
end
end
return kpattern
end
function fork_exec(command)
local pid = nixio.fork()
if pid > 0 then