aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/uhttpd/files/uhttpd.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-06-13 11:55:12 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-06-13 11:55:12 +0000
commit1150e299bb82cf2f81d99a2995bc821921d38cb6 (patch)
tree95ff2a8e4746d8bff183bb269c9bb48ed5479057 /package/network/services/uhttpd/files/uhttpd.init
parent302cf427cbdd09cfd1c98f60efd9ce257b9f4914 (diff)
downloadupstream-1150e299bb82cf2f81d99a2995bc821921d38cb6.tar.gz
upstream-1150e299bb82cf2f81d99a2995bc821921d38cb6.tar.bz2
upstream-1150e299bb82cf2f81d99a2995bc821921d38cb6.zip
uhttpd: expose missing options to uci
SVN-Revision: 36932
Diffstat (limited to 'package/network/services/uhttpd/files/uhttpd.init')
-rwxr-xr-xpackage/network/services/uhttpd/files/uhttpd.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init
index ad46d2c9b7..26fb0422a2 100755
--- a/package/network/services/uhttpd/files/uhttpd.init
+++ b/package/network/services/uhttpd/files/uhttpd.init
@@ -67,12 +67,17 @@ start_instance()
append_arg "$cfg" cgi_prefix "-x"
append_arg "$cfg" lua_prefix "-l"
append_arg "$cfg" lua_handler "-L"
+ append_arg "$cfg" ubus_prefix "-u"
+ append_arg "$cfg" ubus_socket "-U"
append_arg "$cfg" script_timeout "-t"
append_arg "$cfg" network_timeout "-T"
+ append_arg "$cfg" http_keepalive "-k"
append_arg "$cfg" tcp_keepalive "-A"
append_arg "$cfg" error_page "-E"
append_arg "$cfg" max_requests "-n" 3
+ append_arg "$cfg" max_connections "-N"
+ append_bool "$cfg" no_ubusauth "-a" 0
append_bool "$cfg" no_symlinks "-S" 0
append_bool "$cfg" no_dirlists "-D" 0
append_bool "$cfg" rfc1918_filter "-R" 0