2020-01-19 11:45:32 +08:00
|
|
|
module("luci.controller.rclone", package.seeall)
|
|
|
|
|
|
|
|
|
|
function index()
|
2020-03-25 16:44:22 +08:00
|
|
|
if not nixio.fs.access("/etc/config/rclone") then return end
|
|
|
|
|
entry({"admin", "nas"}, firstchild(), _("NAS") , 45).dependent = false
|
2020-02-15 22:10:36 +08:00
|
|
|
entry({"admin", "nas", "rclone"}, cbi("rclone"), _("Rclone"), 100 ).dependent = false
|
2020-01-19 11:45:32 +08:00
|
|
|
end
|