summaryrefslogtreecommitdiffstats
path: root/rules/rsync.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-02-20 23:13:39 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-02-20 23:13:39 +0000
commit2e878658a02ca4651673cad2f41a57f27557d6dc (patch)
treefd1c10f972e4e7f79775a2b3c52fe907869e6032 /rules/rsync.in
parentbe1d99320d214120a306d659e3eacac4411b5ad3 (diff)
downloadptxdist-2e878658a02ca4651673cad2f41a57f27557d6dc.tar.gz
ptxdist-2e878658a02ca4651673cad2f41a57f27557d6dc.tar.xz
* init: introduce infrastructure for multiple init methods
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9802 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/rsync.in')
-rw-r--r--rules/rsync.in27
1 files changed, 4 insertions, 23 deletions
diff --git a/rules/rsync.in b/rules/rsync.in
index e55949789..a2513d294 100644
--- a/rules/rsync.in
+++ b/rules/rsync.in
@@ -81,29 +81,10 @@ choice
endchoice
-choice
- prompt "Kind of startup script"
- 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 <ptxdist-install>/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_STARTSCRIPT
+ bool
+ default y
+ prompt "install /etc/init.d/rsync"
config RSYNC_INETD_STRING
string