aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/uhttpd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-08 20:39:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-08 20:39:09 +0000
commit9cf9b81c7462e53033f34a656c6edeca073aacc2 (patch)
treeb99fad3fcba219f38492e031fb4a7ef4efc58b40 /package/network/services/uhttpd/files
parent8602bad17ed40d67b82d85dd633aa53cb23e01a0 (diff)
downloadmaster-187ad058-9cf9b81c7462e53033f34a656c6edeca073aacc2.tar.gz
master-187ad058-9cf9b81c7462e53033f34a656c6edeca073aacc2.tar.bz2
master-187ad058-9cf9b81c7462e53033f34a656c6edeca073aacc2.zip
uhttpd: update to the latest version, adds support for redirect helper scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47419 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/uhttpd/files')
-rwxr-xr-xpackage/network/services/uhttpd/files/uhttpd.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init
index fcde52a564..d6ffc3b4c9 100755
--- a/package/network/services/uhttpd/files/uhttpd.init
+++ b/package/network/services/uhttpd/files/uhttpd.init
@@ -135,6 +135,10 @@ start_instance()
append_bool "$cfg" redirect_https "-q" 0
}
+ for file in /etc/uhttpd/*.json; do
+ [ -s "$file" ] && procd_append_param command -H "$file"
+ done
+
procd_close_instance
}