summaryrefslogtreecommitdiffstats
path: root/rules/thttpd.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-07-04 15:11:08 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-07-04 15:11:08 +0000
commit9c2b9a6e980acc35bd5715ae991d9f1e13f49133 (patch)
tree1f7302e82f1a6f2fea2c6be66a27e179a7514aa3 /rules/thttpd.in
parent2979d40d9dd5b7276a7753e83be7f8ad5642017c (diff)
downloadptxdist-9c2b9a6e980acc35bd5715ae991d9f1e13f49133.tar.gz
ptxdist-9c2b9a6e980acc35bd5715ae991d9f1e13f49133.tar.xz
* thttpd.in, thttpd.make:
cleanups, introducted '__' in options git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8591 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/thttpd.in')
-rw-r--r--rules/thttpd.in84
1 files changed, 40 insertions, 44 deletions
diff --git a/rules/thttpd.in b/rules/thttpd.in
index af77426a0..586ebe68e 100644
--- a/rules/thttpd.in
+++ b/rules/thttpd.in
@@ -13,55 +13,51 @@ menuconfig THTTPD
comment "runtime options ---"
depends on THTTPD
-#
-# FIXME: Can thttpd also started by inetd like busybox's one?
-# If yes, add a choice here for this startup option
-#
- config ROOTFS_ETC_INITD_THTTPD
- depends on THTTPD
- bool
- default y
- prompt "Install startup script"
- help
- The /etc/init.d/thttpd script lets you control the thttpd daemon.
-
- choice
- prompt "Kind of startup script"
- depends on ROOTFS_ETC_INITD_THTTPD
- default THTTPD_ETC_INITD_GENERIC
- 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.
+if THTTPD
- 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
+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.
- endchoice
+ config THTTPD__ETC_INITD_NONE
+ bool
+ prompt "no init.d script"
- config THTTPD_GENERIC_SITE
- depends on THTTPD
+ config THTTPD__ETC_INITD_GENERIC
bool
- default y
- prompt "Populate a generic website"
+ prompt "Use generic"
help
- This install a generic website into /var/www/index.html
- from <ptxdist-install>/generic/var/www/thttpd.html
+ Installs a generic /etc/init.d/thttpd startup
+ script. The file from
+ <ptxdist-install>/generic/etc/init.d/thttpd
+ will be used.
- config THTTPD_INSTALL_HTPASSWD
- depends on THTTPD
- bool "Install mkpasswd tool."
- default y
+ config THTTPD__ETC_INITD_USER
+ bool
+ prompt "User defined"
help
- Install the mkpasswd tool. It can create and manage .htpasswd file
- for authentication of users.
+ 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
+ default y
+ prompt "Populate a generic website"
+ help
+ This install a generic website into /var/www/index.html
+ from <ptxdist-install>/generic/var/www/thttpd.html
+
+config THTTPD__INSTALL_HTPASSWD
+ bool "Install mkpasswd tool."
+ default y
+ help
+ Install the mkpasswd tool. It can create and manage .htpasswd file
+ for authentication of users.
+endif