diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-03 17:06:52 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-03 17:06:52 +0000 |
commit | 2e45bc1c433956a4cd7c7697add184811d1aa6a6 (patch) | |
tree | 323f3115c85a5e416dbef6f6c29982479ac09fc1 /rules/cvs.in | |
parent | b0dc86801752549ea3d5771e990abdd0aae2bc34 (diff) | |
download | ptxdist-2e45bc1c433956a4cd7c7697add184811d1aa6a6.tar.gz ptxdist-2e45bc1c433956a4cd7c7697add184811d1aa6a6.tar.xz |
[cvs] fix stand alone vs. inetd
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9923 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/cvs.in')
-rw-r--r-- | rules/cvs.in | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/rules/cvs.in b/rules/cvs.in index 3a3b7a8c2..a229359fa 100644 --- a/rules/cvs.in +++ b/rules/cvs.in @@ -114,19 +114,28 @@ 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. -config CVS_INETD_STRING - string +choice + prompt "cvs startup type" depends on CVS_SERVER - depends on CVS_INETD_SERVER - prompt "inetd service entry" - default "cvspserver stream tcp nowait root /usr/bin/cvs cvsd -f @ROOT@ pserver" - help - This string is added to inetd's configuration /etc/inetd.conf. @ROOT@ - in this string will be replaced by repository's root -config CVS_STARTSCRIPT - bool - default y - prompt "install /etc/init.d/cvs" + config CVS_STARTSCRIPT + bool + prompt "startscript (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 + + config CVS_INETD + bool + prompt "inetd" + 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. +endchoice endif |