aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-25 07:44:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-25 07:44:48 +0000
commit3a931a5b0ceb95b93b7bfdb085b27ebef0c8600a (patch)
treec459f920529ed726066e49e51cb914543aaa775b
parent0b324cd07587709dac048fc0d27058168b20fa2e (diff)
downloadupstream-3a931a5b0ceb95b93b7bfdb085b27ebef0c8600a.tar.gz
upstream-3a931a5b0ceb95b93b7bfdb085b27ebef0c8600a.tar.bz2
upstream-3a931a5b0ceb95b93b7bfdb085b27ebef0c8600a.zip
uhttpd: fix appending https ports to cmdline
Otherwise it is started only on non-secure ports. Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38171 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/network/services/uhttpd/files/uhttpd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init
index 51f7547ca8..ce304831eb 100755
--- a/package/network/services/uhttpd/files/uhttpd.init
+++ b/package/network/services/uhttpd/files/uhttpd.init
@@ -112,7 +112,7 @@ start_instance()
append_arg "$cfg" key "-K"
for listen in $https; do
- append UHTTPD_ARGS "-s $listen"
+ procd_append_param command -s "$listen"
done
}
}