More usage.h cleanups, with collateral changes to httpd. Specifically,

most of our CONFIG entries switch stuff on instead of off when enabled, so fix
the gratuitously reversed INETD thing.
This commit is contained in:
Rob Landley
2006-04-28 19:38:04 +00:00
parent 0e6a3e14e4
commit a2d9a1752c
3 changed files with 44 additions and 102 deletions

View File

@@ -61,18 +61,18 @@ config CONFIG_HTTPD
help
Serve web pages via an HTTP server.
config CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
bool "Support using httpd only from inetd"
config CONFIG_FEATURE_HTTPD_WITHOUT_INETD
bool "Support using httpd as a daemon (not from inetd)"
default n
depends on CONFIG_HTTPD
help
This option disables uid and port options for the httpd applet
but requires inetd server daemon.
This option enables uid and port options for the httpd applet,
and eliminates the need to be called from the inetd server daemon.
config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
bool "Support reloading the global config file using hup signal"
default n
depends on CONFIG_HTTPD && !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
depends on CONFIG_HTTPD && CONFIG_FEATURE_HTTPD_WITHOUT_INETD
help
This option enables processing of SIGHUP to reload cached
configuration settings.
@@ -80,7 +80,7 @@ config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
config CONFIG_FEATURE_HTTPD_SETUID
bool "Enable support -u <user> option"
default n
depends on CONFIG_HTTPD && !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
depends on CONFIG_HTTPD && CONFIG_FEATURE_HTTPD_WITHOUT_INETD
help
This option allows the server to run as a specific user
rather than defaulting to the user that starts the server.