Skip to content
Snippets Groups Projects
Commit 072acf5a authored by Nils Schneider's avatar Nils Schneider
Browse files

gluon-luci-admin: remove unused function

parent 9c2ba883
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment