* Core translation
[project/luci.git] / modules / admin-core / luasrc / model / cbi / admin_services / dropbear.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13 ]]--
14 m = Map("dropbear", "Dropbear SSHd", translate("a_srv_dropbear1", [[Der SSH-Server ermöglicht Shell-Zugriff
15 über das Netzwerk und bietet einen integrierten SCP-Dienst.]]))
16
17 s = m:section(TypedSection, "dropbear", "")
18 s.anonymous = true
19
20 port = s:option(Value, "Port", translate("port", "Port"))
21 port.isinteger = true
22
23 pwauth = s:option(Flag, "PasswordAuth", translate("a_srv_d_pwauth", "Passwortanmeldung"), translate("a_srv_d_pwauth1", "Erlaube Anmeldung per Passwort"))
24 pwauth.enabled = 'on'
25 pwauth.disabled = 'off'
26
27 return m