summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2009-05-01 22:07:35 +0200
committerBertrand Jacquin <beber@meleeweb.net>2009-05-01 22:07:35 +0200
commit91ff736d074863da0d096abb044327e44a0b5a9f (patch)
tree67113683eceeade5be984724f6eac4c66e35f5e6
parentnetwork: Handle unreacheable/prohibit/local/etc iproute2 options. (diff)
downloadinit-scripts-91ff736d074863da0d096abb044327e44a0b5a9f.tar.gz
thttpd: Add cgi config tokenHEADmaster
-rwxr-xr-xsbin/init.d/thttpd2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/init.d/thttpd b/sbin/init.d/thttpd
index 091648b..31c63c4 100755
--- a/sbin/init.d/thttpd
+++ b/sbin/init.d/thttpd
@@ -11,6 +11,7 @@ option user standard_option
option address standard_option
option logfile standard_option
option charset standard_option iso-8859-1
+option cgi multiple_option
option bin reserved_option /usr/sbin/thttpd
# assign default values to options and variables before parsing the cfg file
@@ -20,6 +21,7 @@ function fct_begin_section {
${opt_docroot:+-d $opt_docroot} ${opt_chroot:+-r} ${opt_symlink:+-s}
${opt_user:+-u $opt_user} ${opt_address:+-h $opt_address}
${opt_logfile:+-l $opt_logfile} ${opt_charset:+-T $opt_charset}
+ ${opt_cgi:+-c ${opt_cgi[@]}}
${pidfile:+-i $pidfile}'
}