diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-08 20:39:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-08 20:39:09 +0000 |
commit | 1d6a530fe6a129814fc93a45df01a01342569be8 (patch) | |
tree | a6bdbd6032779c654b9df1714f2cce1a4b73a079 /package/network/services/uhttpd/files | |
parent | d965d94b221a17ced1fd856992a5c7c2eef17ecf (diff) | |
download | upstream-1d6a530fe6a129814fc93a45df01a01342569be8.tar.gz upstream-1d6a530fe6a129814fc93a45df01a01342569be8.tar.bz2 upstream-1d6a530fe6a129814fc93a45df01a01342569be8.zip |
uhttpd: update to the latest version, adds support for redirect helper scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47419
Diffstat (limited to 'package/network/services/uhttpd/files')
-rwxr-xr-x | package/network/services/uhttpd/files/uhttpd.init | 4 |
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 } |