diff options
author | John Crispin <john@openwrt.org> | 2015-10-19 10:08:01 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-10-19 10:08:01 +0000 |
commit | 00df239f60681dfee3ee14992f437a756de62fd4 (patch) | |
tree | b9010bbb9222758572b70b14af990733829969d0 /package/network/services/uhttpd/files | |
parent | 7295e9fb8be958913764eea2e6c467464dba4c41 (diff) | |
download | upstream-00df239f60681dfee3ee14992f437a756de62fd4.tar.gz upstream-00df239f60681dfee3ee14992f437a756de62fd4.tar.bz2 upstream-00df239f60681dfee3ee14992f437a756de62fd4.zip |
uhttpd: update to latest git revision
adds URL alias support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47206
Diffstat (limited to 'package/network/services/uhttpd/files')
-rwxr-xr-x | package/network/services/uhttpd/files/uhttpd.init | 5 |
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 a3e09c44e7..fcde52a564 100755 --- a/package/network/services/uhttpd/files/uhttpd.init +++ b/package/network/services/uhttpd/files/uhttpd.init @@ -94,6 +94,11 @@ start_instance() append_bool "$cfg" no_dirlists "-D" 0 append_bool "$cfg" rfc1918_filter "-R" 0 + config_get alias_list "$cfg" alias + for alias in $alias_list; do + procd_append_param command -y "$alias" + done + config_get http "$cfg" listen_http for listen in $http; do procd_append_param command -p "$listen" |