luci-app-upnp: fix setting ucitrack init option
authorYousong Zhou <yszhou4tech@gmail.com>
Wed, 5 Jul 2017 20:16:46 +0000 (23:16 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 5 Jul 2017 20:16:46 +0000 (23:16 +0300)
Fixes FS#693

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit ed11130b84ed6ff95f09c8a482f52fa253555881)

applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp

index a338c75d355023d3e99d561194a925cbbbbcd2e4..e9636f9a2801490f25760704188235272be71506 100755 (executable)
@@ -3,7 +3,7 @@
 uci -q batch <<-EOF >/dev/null
        delete ucitrack.@upnpd[-1]
        add ucitrack upnpd
-       set ucitrack.@upnpd[-1]=miniupnpd
+       set ucitrack.@upnpd[-1].init=miniupnpd
        commit ucitrack
 EOF