uhttpd: fix appending https ports to cmdline
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 25 Sep 2013 07:44:48 +0000 (07:44 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 25 Sep 2013 07:44:48 +0000 (07:44 +0000)
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

package/network/services/uhttpd/files/uhttpd.init

index 51f7547..ce30483 100755 (executable)
@@ -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
                }
        }