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
+10
View File
@@ -0,0 +1,10 @@
local util = require("modules/util")
local function get_system_age()
local install_time = 1793894400 -- Choose your own install time (unix timestamp)
local now = tonumber(util.process_get_one_line("date +%s"))
return util.format_time(now - install_time)
end
return { name = "age", cmd = get_system_age }