From: Kevin Darbyshire-Bryant Date: Wed, 9 May 2018 12:50:35 +0000 (+0100) Subject: luci-app-upnp: change leasefile location hint X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ea02940c0e1d0544ec64d336b6eedef6ce934eb6;p=oweals%2Fluci.git luci-app-upnp: change leasefile location hint Change default leasefile hint from /var/log/upnp.leases to /var/run/miniupnpd.leases Signed-off-by: Kevin Darbyshire-Bryant --- diff --git a/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua b/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua index 17a4d9b76..a2023926e 100644 --- a/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua +++ b/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua @@ -74,7 +74,7 @@ pu = s:taboption("advanced", Value, "presentation_url", translate("Presentation pu.placeholder = "http://192.168.1.1/" lf = s:taboption("advanced", Value, "upnp_lease_file", translate("UPnP lease file")) -lf.placeholder = "/var/log/upnp.leases" +lf.placeholder = "/var/run/miniupnpd.leases" s2 = m:section(TypedSection, "perm_rule", translate("MiniUPnP ACLs"),