root/trunk/freewrt/package/Config.in.runtime

Revision 3846, 3.8 kB (checked in by sumsum, 3 years ago)

Let the user modify the hostname for the target.
Accessible at:

Runtime Configuration -> Target Hostname

This is currently only used by base-files package.
New configuration variable is ${FWRT_RUNTIME_HOSTNAME}.

Line 
1 comment "Runtime Configuration"
2
3 choice
4         prompt "Choose the login shell for the admin user"
5         default FWRT_BASEFILES_ADMIN_MKSH
6         help
7           Choose a shell which is to be used as the default login
8           shell for the "admin" user. Only shells selected above
9           can be chosen.
10
11 config FWRT_BASEFILES_ADMIN_MKSH
12         depends FWRT_PACKAGE_MKSH
13         bool "  mksh"
14         help
15           mksh is the MirBSD enhanced version of the Public Domain Korn
16           shell (pdksh), a bourne-compatible shell which is largely similar
17           to the original AT&T Korn shell. It includes bug fixes and
18           feature improvements in order to produce a modern, robust shell
19           good for interactive and especially script use. Some sh/ksh/pdksh
20           compatibility kludges have been removed.
21
22 config FWRT_BASEFILES_ADMIN_BASH
23         depends FWRT_PACKAGE_BASH
24         bool "  GNU bash"
25         help
26           bash is the GNU "bourne-again" shell, a pretty bloated bourne
27           compatible shell with some basic korn shell extensions and a
28           few home-grown ones. Because it's very big and slow, it can't
29           be selected as /bin/sh.
30
31 config FWRT_BASEFILES_ADMIN_ZSH
32         depends FWRT_PACKAGE_ZSH
33         bool "  zsh"
34         help
35           zsh is a powerful, bloated not-quite bourne (and even less
36           korn) compatible shell with rich features for interactive
37           uses. It cannot be selected as /bin/sh but as login shell.
38
39 config FWRT_BASEFILES_ADMIN_SH
40         bool "  /bin/sh"
41         help
42           Fall-back: use /bin/sh, whatever it is.
43
44 endchoice
45
46 config FWRT_RUNTIME_PACKAGES_URL
47         string "Packages URL"
48         default ""
49         help
50           Predefine the URL where "ipkg" looks for packages
51           @TARGET@ works as placeholder for "<boardtype>-<kernel>" i.e. "brcm-2.4"
52              so you can configure different URLs for different targets with a single string
53
54           Leave empty to use distribution default:
55           http://www.freewrt.org/downloads/@VERSION@/@TARGET@/packages
56
57 config FWRT_RUNTIME__HOSTNAME
58         string "Target Hostname"
59         default "FreeWRT"
60         help
61           Use this variable to set the target hostname.
62
63 config FWRT_RUNTIME_PASSWORD
64         string "admin and root password"
65         default "FreeWRT"
66         help
67           Predefine the admin and root password enabled in the the built image
68           - Leave empty to disable password login
69
70
71 choice
72 prompt "SSH password login configuration"
73
74 config FWRT_RUNTIME_SSH_DISABLE_PASSWORD_FOR_ROOT
75         bool "  Disable password logins as root"
76         help
77           With this selection only non-root users are allowed to login
78
79           root     -> with key only
80           non-root -> with password and key
81
82           USE WITH CARE!
83           PASSWORD LOGINS AS ROOT ARE NOT SAFE IN THE INTERNET.
84
85 config FWRT_RUNTIME_SSH_DISABLE_NOTHING
86         bool "  Enable password login for root and non-root users"
87         help
88           With this selection all users are allowed to login with password
89
90           root     -> with password and key
91           non-root -> with password and key
92
93           USE WITH CARE!
94           PASSWORD LOGINS AS ROOT ARE NOT SAFE IN THE INTERNET.
95
96 config FWRT_RUNTIME_SSH_DISABLE_PASSWORD
97         bool "  Disable password logins"
98         help
99           If you select this you will only be able to login using your supplied
100           public key. Password logins will be disabled.
101
102           root     -> with key only
103           non-root -> with key only
104
105           THIS REQUIRES YOU TO PROVIDE AN SSH PUBLIC KEY!
106
107 config FWRT_RUNTIME_SSH_DISABLE_ROOT
108         bool "  Disable root logins"
109         help
110           With this selection only non-root users are allowed to login
111
112           root     -> not allowed
113           non-root -> with password and key
114
115 #config FWRT_RUNTIME_SSH_DISABLE_ROOT_AND_PASSWORD
116 #       bool "  Disable root logins and password logins"
117 #       help
118 #         With this selection only non-root users are allowed to login
119 #         and only with public key.
120 #
121 #         root     -> not allowed
122 #         non-root -> with key only
123
124 endchoice
125
126
127 config FWRT_RUNTIME_SSHKEY
128         string "SSH public key (root user only)"
129         default ""
130         help
131           Paste your generated SSH public key here and it will be embedded into
132           the built image, so you can use it to login instantly.
Note: See TracBrowser for help on using the browser.