Api/minux.getconfig()

From Minux Wiki
Jump to navigation Jump to search

minux api used to get the system's configuration


usage:

local string = minux.getconfig(type)


Arguments:

- login | return can be: "network", "local", "disabled" -

- update | return can be: "always, "enabled", "disabled"

- ui | return can be: "prompt", "menu" or "workspace"

- debug | return can be: "disabled", "enabled", "logging", "full"


output:

gets the desired setting


local temp = minux.getconfig("login") - retrieves this machine's login settings.