blob: e906041bd63793515ac06c5870dac12b6a197169 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
## SECTION=networking
menuconfig RSYNC
tristate
prompt "rsync "
select GCCLIBS_GCC_S
select OPENSSH if RUNTIME
select OPENSSH_SSH
help
rsync is a program that behaves in much the same way that rcp does,
but has many more options and uses the rsync remote-update protocol to
greatly speed up file transfers when the destination file is being
updated.
if RSYNC
comment "build options ---"
config RSYNC_CONFIG_FILE
string
default "/etc/rsyncd.conf"
prompt "Configuration file at runtime"
help
Set configuration file for rsync server to given path on your target
comment "runtime options ---"
choice
prompt "Kind of rsyncd.conf/rsyncd.secrets file"
default RSYNC_CONFIG_FILE_DEFAULT
config RSYNC_CONFIG_FILE_DEFAULT
bool
prompt "Use generic"
help
The files from generic/etc/rsyncd.conf|rsyncd.secrets will be used.
Its a very good idea to start with this default files and save a
customised version into your project, because the generic files are
really useless. You can use your own version if you select
"User defined" here.
config RSYNC_CONFIG_FILE_USER
bool
prompt "User defined"
help
The files from <project>/projectroot/etc/rsyncd.conf|rsyncd.secrets
will be used.
endchoice
choice
prompt "Kind of startup"
default RSYNC_INETD_SERVER
config RSYNC_INETD_SERVER
bool
prompt "inetd driven"
help
Install a inetd rule for rsync. This option adds the following line
to /etc/inetd.conf.d/rsync:
rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon @CONFIG@
Note: You must enable one of the two possible inet daemons: There is
one embedded in busybox and one in packet inetutils.
config RSYNC_STARTUP_TYPE_STANDALONE
bool
prompt "standalone"
help
This installs rsync startup script /etc/init.d/rsyncd. With this
script the rsync server will be started at system startup and
waits for connections
endchoice
config RSYNC_STARTSCRIPT
bool
default y
prompt "install /etc/init.d/rsync"
config RSYNC_INETD_STRING
string
depends on RSYNC_INETD_SERVER
prompt "inetd service entry"
default "rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon @CONFIG@"
help
This string is added to the inetd configuration /etc/inetd.conf.d/rsync.
@CONFIG@ in this string will be replaced with the --config option, and the
path given above for configuration
endif
|