uhttpd: fix appending https ports to cmdline
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Sep 2013 07:44:48 +0000 (07:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
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>
SVN-Revision: 38171

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

index 51f7547ca88c1dcd4bf45d720f771db0e46602d6..ce304831ebd9d6391b2124846357a443629af2d1 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
                }
        }