summaryrefslogtreecommitdiffstats
path: root/rules/cvs.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/cvs.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/cvs.in')
-rw-r--r--rules/cvs.in50
1 files changed, 4 insertions, 46 deletions
diff --git a/rules/cvs.in b/rules/cvs.in
index 90fae7b3e..3a3b7a8c2 100644
--- a/rules/cvs.in
+++ b/rules/cvs.in
@@ -114,31 +114,6 @@ config CVS_SERVER_REPOSITORY
This will be cvs server's root repository (given to cvs as --allow-root=...).
You must give a path here to use the "Populate CVSROOT files" feature.
-choice
- prompt "Kind of startup"
- depends on CVS_SERVER
-
- config CVS_INETD_SERVER
- bool
- prompt "inetd driven"
- help
- cvs server will be started on demand from inetd. This installs
- a startup configuration for cvs from inetd. It adds to the
- /etc/inetd.conf a line like this:
- cvs stream tcp nowait root /usr/bin/cvs cvsd -f --allow-root=/srv/cvsroot pserver
- Note: You must enable one of the two possible inet daemons:
- There is one embedded in busybox and one in packet inetutils.
-
- config CVS_STARTUP_TYPE_STANDALONE
- bool
- prompt "standalone"
- help
- This installs cvs startup script /etc/init.d/cvs. With this
- script the cvs server will be started at system startup and
- waits for connections
-
-endchoice
-
config CVS_INETD_STRING
string
depends on CVS_SERVER
@@ -149,26 +124,9 @@ config CVS_INETD_STRING
This string is added to inetd's configuration /etc/inetd.conf. @ROOT@
in this string will be replaced by repository's root
-choice
- prompt "Kind of startup script"
- default ROOTFS_ETC_INITD_CVS_DEFAULT
- depends on CVS_STARTUP_TYPE_STANDALONE
-
- config ROOTFS_ETC_INITD_CVS_DEFAULT
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/init.d/cvs startup script.
- See <ptxdist-install>/generic/etc/init.d/cvs
-
- config ROOTFS_ETC_INITD_CVS_USER
- bool
- prompt "User defined"
- help
- This uses a user defined cvs startup script. PTXdist
- uses files projectroot/etc/init.d/cvs in your local
- project
-
-endchoice
+config CVS_STARTSCRIPT
+ bool
+ default y
+ prompt "install /etc/init.d/cvs"
endif