lua rewrite

This commit is contained in:
2026-11-06 04:45:37 +01:00
parent e8ea7e1e2f
commit bd77e8dca2
20 changed files with 462 additions and 29 deletions
+7
View File
@@ -0,0 +1,7 @@
local util = require("modules/util")
local function get_system_uptime()
return util.format_time(tonumber(util.grep("/proc/uptime", "^(%S+)")))
end
return { name = "uptime", cmd = get_system_uptime }