|
|
@ -1,7 +1,7 @@
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
local util = require "luci.util"
|
|
|
|
local util = require "luci.util"
|
|
|
|
local container_status = util.trim(util.exec("/usr/libexec/apps/btcpayserver/btcpayserver.sh status"))
|
|
|
|
local container_status = util.trim(util.exec("/usr/libexec/apps/btcpayserver/btcpayserver.sh status"))
|
|
|
|
local container_running = string.match(string.lower(container_status), "^up .* (seconds|minutes|hours)")
|
|
|
|
local container_running = string.match(string.lower(container_status), "^up%W")
|
|
|
|
-%>
|
|
|
|
-%>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="cbi-value">
|
|
|
|
<div class="cbi-value">
|
|
|
|