aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/files/uhttpd.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-27 00:00:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-27 00:00:33 +0000
commit99e8e7cf2f2c856ac67b2b0455a8b10b659a1ab5 (patch)
treeefa53486b6d67774f4641dea35ec97e78744b298 /package/uhttpd/files/uhttpd.init
parent78c616da82979a2bbf96a8792680278cf641a23a (diff)
downloadmaster-187ad058-99e8e7cf2f2c856ac67b2b0455a8b10b659a1ab5.tar.gz
master-187ad058-99e8e7cf2f2c856ac67b2b0455a8b10b659a1ab5.tar.bz2
master-187ad058-99e8e7cf2f2c856ac67b2b0455a8b10b659a1ab5.zip
[package] uhttpd:
- make script timeout configurable - catch SIGCHLD to properly interrupt select() - flag listen and client sockets as close-on-exec git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20500 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uhttpd/files/uhttpd.init')
-rwxr-xr-xpackage/uhttpd/files/uhttpd.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uhttpd/files/uhttpd.init b/package/uhttpd/files/uhttpd.init
index a25bf789cb..ba7dd49fbd 100755
--- a/package/uhttpd/files/uhttpd.init
+++ b/package/uhttpd/files/uhttpd.init
@@ -65,6 +65,7 @@ start_instance()
append_arg "$cfg" cgi_prefix "-x"
append_arg "$cfg" lua_prefix "-l"
append_arg "$cfg" lua_handler "-L"
+ append_arg "$cfg" script_timeout "-t"
config_list_foreach "$cfg" listen_http \
append_listen_http