Api/minux.config()
Jump to navigation
Jump to search
minux api used to change the system's configuration
usage:
minux.config(type, setting)
Arguments:
- login , setting | setting can be: "network", "local", "disabled" -
- update, setting | setting can be: "always, "enabled", "disabled"
- ui , setting | setting can be: "prompt", "menu" or "workspace"
- debug, setting | setting can be: "disabled", "enabled", "logging", "full"
- get , type | type can be any of the above arguments, returns setting value
output:
changes the desired setting accordingly
eg:
minux.config("login","disabled") disabled this machine's login setting
local tempdata = minux.config("get","login") outputs the login setting to tempdata