diff options
Diffstat (limited to 'applications/luci-transmission')
-rw-r--r-- | applications/luci-transmission/luasrc/model/cbi/transmission.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-transmission/luasrc/model/cbi/transmission.lua b/applications/luci-transmission/luasrc/model/cbi/transmission.lua index fa036fb0f..e727a0de3 100644 --- a/applications/luci-transmission/luasrc/model/cbi/transmission.lua +++ b/applications/luci-transmission/luasrc/model/cbi/transmission.lua @@ -17,7 +17,7 @@ require("luci.util") require("luci.model.ipkg") local uci = require "luci.model.uci".cursor() -local trport = uci:get_first("transmission", "transmission", "rpc_port") +local trport = uci:get_first("transmission", "transmission", "rpc_port") or 9091 local running = (luci.sys.call("pidof transmission-daemon > /dev/null") == 0) local webinstalled = luci.model.ipkg.installed("transmission-web") local button = "" |