immortalwrt/package/ntlf9t/luci-app-cifs/luasrc/controller/cifs.lua
2020-02-14 13:40:14 +08:00

17 lines
339 B
Lua

-- Copyright 2015
-- Matthew
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.cifs", package.seeall)
function index()
if not nixio.fs.access("/etc/config/cifs") then
return
end
local page
page = entry({"admin", "services", "cifs"}, cbi("cifs"), _("Mounting NAT drives"))
page.dependent = true
end