5 Copyright (C) 2014, Cisco Systems, Inc.
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Author: Petar Koretic <petar.koretic@sartura.hr>
17 local fs = require "nixio.fs"
19 m = Map("lxc", translate("LXC Containers"))
21 if fs.access("/etc/config/lxc") then
22 m:section(SimpleSection).template = "lxc"
24 s = m:section(TypedSection, "lxc", translate("Options"))
28 s:option(Value, "url", translate("Containers URL"))