mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-05 18:44:06 +08:00
update 2026-10-07 18:47:42
This commit is contained in:
1 parent
617f7ca2a6
commit
bd061545ed
4832 files changed
+1693456
No files matched your search
@@ -0,0 +1,21 @@
|
||||
local m, s, o
|
||||
|
||||
m = Map("clouddrive2", translate("CloudDrive2"), translate("Configure and manage CloudDrive2"))
|
||||
|
||||
m:section(SimpleSection).template="clouddrive2/status"
|
||||
|
||||
s = m:section(TypedSection, "clouddrive2", translate("Settings"))
|
||||
s.anonymous = true
|
||||
s.addremove = false
|
||||
|
||||
o = s:option(Flag, "enabled", translate("Enable"))
|
||||
o.rmempty = false
|
||||
|
||||
o = s:option(Value, "port", translate("Port"))
|
||||
o.datatype = "port"
|
||||
o.default = "19798"
|
||||
|
||||
o = s:option(Value, "mount_point", translate("Mount Point"))
|
||||
o.default = "/mnt/clouddrive"
|
||||
|
||||
return m
|
||||
Reference in new issue
Block a user