summaryrefslogtreecommitdiffstats
path: root/rules/thttpd.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/thttpd.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/thttpd.in')
-rw-r--r--rules/thttpd.in35
1 files changed, 6 insertions, 29 deletions
diff --git a/rules/thttpd.in b/rules/thttpd.in
index b00abfc59..669c470e9 100644
--- a/rules/thttpd.in
+++ b/rules/thttpd.in
@@ -17,35 +17,6 @@ menuconfig THTTPD
if THTTPD
-choice
- prompt "Kind of startup script"
- default THTTPD__ETC_INITD_GENERIC
- depends on THTTPD
- help
- The /etc/init.d/thttpd script lets you control the thttpd daemon.
-
- config THTTPD__ETC_INITD_NONE
- bool
- prompt "no init.d script"
-
- config THTTPD__ETC_INITD_GENERIC
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/init.d/thttpd startup
- script. The file from
- <ptxdist-install>/generic/etc/init.d/thttpd
- will be used.
-
- config THTTPD__ETC_INITD_USER
- bool
- prompt "User defined"
- help
- This uses a user defined thttpd. PTXdist uses
- file projectroot/etc/init.d/thttpd in your
- local project
-endchoice
-
config THTTPD__GENERIC_SITE
depends on THTTPD
bool
@@ -61,4 +32,10 @@ config THTTPD__INSTALL_HTPASSWD
help
Install the mkpasswd tool. It can create and manage .htpasswd file
for authentication of users.
+
+config THTTPD_STARTSCRIPT
+ bool
+ default y
+ prompt "install /etc/init.d/thttpd"
+
endif