menuconfig RSYNC bool prompt "rsync " 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. comment "build options ---" depends on RSYNC config RSYNC_IPV6 bool depends on RSYNC default n prompt "Support IPV6" help This switch enables IPV6 support in rsync config RSYNC_LARGE_FILE bool depends on RSYNC default y prompt "Large file support" help Support for large files config RSYNC_CONFIG_FILE string depends on RSYNC 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 ---" depends on RSYNC choice prompt "Kind of rsyncd.conf/rsyncd.secrets file" depends on RSYNC 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 /projectroot/etc/rsyncd.conf|rsyncd.secrets will be used. endchoice choice prompt "Kind of startup" depends on RSYNC default RSYNC_INETD_SERVER config RSYNC_INETD_SERVER bool prompt "inetd driven" help This installs a startup configuration for rsync from inetd. It adds to the /etc/inetd.conf a line like this: 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 choice prompt "Kind of startup script" depends on RSYNC depends on RSYNC_STARTUP_TYPE_STANDALONE default ROOTFS_ETC_INITD_RSYNC_DEFAULT config ROOTFS_ETC_INITD_RSYNC_DEFAULT bool prompt "Use generic" help Installs a generic /etc/init.d/rsyncd startup script. See /generic/etc/init.d/rsyncd config ROOTFS_ETC_INITD_RSYNC_USER bool prompt "User defined" help This uses a user defined rsync startup script. PTXdist uses files projectroot/etc/init.d/rsyncd in your local project. You should use "@CONFIG@" in your script. This gets replaced by "--config=" and the path to the config file given above. endchoice config RSYNC_INETD_STRING string depends on RSYNC 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 inetd's configuration /etc/inetd.conf. @CONFIG@ in this string will be replaced with the --config option, and the path given above for configuration