summaryrefslogtreecommitdiffstats
path: root/rules/lighttpd.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/lighttpd.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/lighttpd.in')
-rw-r--r--rules/lighttpd.in57
1 files changed, 4 insertions, 53 deletions
diff --git a/rules/lighttpd.in b/rules/lighttpd.in
index bea9f8eed..34e87af12 100644
--- a/rules/lighttpd.in
+++ b/rules/lighttpd.in
@@ -114,59 +114,10 @@ config LIGHTTPD__LUA
help
lua engine for mod_cml
-
-choice
- prompt "Kind of startup script"
- default LIGHTTPD__ETC_INITD_GENERIC
- depends on LIGHTTPD
- help
- The /etc/init.d/lighttpd script lets you control the lighttpd daemon.
-
- config LIGHTTPD__ETC_INITD_NONE
- bool
- prompt "no init.d script"
-
- config LIGHTTPD__ETC_INITD_GENERIC
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/init.d/lighttpd startup
- script. The file from
- <ptxdist-install>/generic/etc/init.d/lighttpd
- will be used.
-
- config LIGHTTPD__ETC_INITD_USER
- bool
- prompt "User defined"
- help
- This uses a user defined lighttpd. PTXdist uses
- file projectroot/etc/init.d/lighttpd in your
- local project
-endchoice
-
-
-
-choice
- prompt "Kind of httpd.conf"
- default LIGHTTPD__CONFIG_DEFAULT
-
- config LIGHTTPD__CONFIG_NONE
- bool "no config"
-
- config LIGHTTPD__CONFIG_DEFAULT
- bool "Use generic"
- help
- Install generic lighttpd files.
- See <ptxdist-install>/generic/etc/lighttpd/lighttpd.conf
- and <ptxdist-install>/generic/etc/lighttpd/mod_fastcgi.conf
-
- config LIGHTTPD__CONFIG_USER
- bool "User defined"
- help
- This uses a user defined lighttpd.conf file.
- PTXdist uses file projectroot/etc/lighttpd/lighttpd.conf in your
- local project.
-endchoice
+config LIGHTTPD_STARTSCRIPT
+ bool
+ default y
+ prompt "install /etc/init.d/lighttpd"
config LIGHTTPD__GENERIC_SITE
bool