## SECTION=networking menuconfig RSYNC tristate prompt "rsync " select GCCLIBS_GCC_S select OPENSSH if RSYNC_SSH && RUNTIME select OPENSSH_SSH if RSYNC_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 ---" config RSYNC_SSH bool "install ssh to tunnel rsync over ssh" 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 depends on INITMETHOD_BBINIT && RSYNC_STARTUP_TYPE_STANDALONE 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