From 1d6a530fe6a129814fc93a45df01a01342569be8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 8 Nov 2015 20:39:09 +0000 Subject: uhttpd: update to the latest version, adds support for redirect helper scripts Signed-off-by: Felix Fietkau SVN-Revision: 47419 --- package/network/services/uhttpd/files/uhttpd.init | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/network/services/uhttpd/files/uhttpd.init') 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 } -- cgit v1.2.3