Method code for $sys.init_database()

[Turn on line numbering]
var obj, p, c, cmd, other;

// re-init caches
$remote_cache.rehash_cache();

// only rehash non-general caches--general caches should be initialized
// as they are needed, by .cache_server_init().
other = $command_cache.children().setremove($user_interfaces);
other = other.mmap('descendants).flatten().compress();
for obj in (filter obj in (other) where (!obj.is_general_cache())) {
    (| obj.rehash_cache() |);
    refresh();
}

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

the Cold Dark