summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/model/cbi/admin_services/dropbear.lua
blob: b8fcb9e6b25db618cd9faa59dcacbf0f1d6dc941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- ToDo: Translate, Add descriptions
m = Map("dropbear", "SSH-Server")

s = m:section(TypedSection, "dropbear")
s.anonymous = true

port = s:option(Value, "Port", "Port")
port.isinteger = true

pwauth = s:option(Flag, "PasswordAuth", "Passwortanmeldung")
pwauth.enabled = 'on'
pwauth.disabled = 'off'

return m