Method code for $sys.set_startup()

[Turn on line numbering]
arg what, value;
var valid;

(> .perms(sender(), 'system) <);
valid = startup.keys();
if (!what in valid)
    throw(~type, "Key must be one of " + toliteral(valid));
startup = startup.add(what, value);

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark