Select Git revision
gluon-check-connection
-
David Bauer authored
This package allows to automatically switch to another domain, either at a given point in time or after the node was offline long enough.
David Bauer authoredThis package allows to automatically switch to another domain, either at a given point in time or after the node was offline long enough.
gluon-info 261 B
#!/usr/bin/lua
local info = require 'gluon.info'
local values = info.get_info_pretty()
local padTo = 24
for _, value in ipairs(values) do
local labelLen = string.len(value[1]) + 1
print(value[1] .. ':' .. string.rep(' ', padTo - labelLen), value[2])
end