luci-app-rclone: code alignment

This commit is contained in:
Beginner-Go 2022-06-22 16:12:54 +00:00
parent dd336c8de7
commit e321e2382f
2 changed files with 1 additions and 12 deletions

View File

@ -4,7 +4,7 @@ function index()
if not nixio.fs.access("/etc/config/rclone") then
return
end
entry({"admin", "nas"}, firstchild(), _("NAS") , 45).dependent = false
entry({"admin", "nas", "rclone"}, cbi("rclone"), _("Rclone"), 100).dependent = false
end

View File

@ -1,11 +0,0 @@
{
"luci-app-rclone": {
"description": "Grant UCI access for luci-app-rclone",
"read": {
"uci": ["rclone"]
},
"write": {
"uci": ["rclone"]
}
}
}