fixed more status stuff

pull/1/head
riley 1 year ago
parent 84030a24cb
commit db2a0491c8

@ -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">

Loading…
Cancel
Save