milo cleanup
This commit is contained in:
@@ -39,10 +39,16 @@ end
|
||||
local config = {
|
||||
monitor = 'type/monitor',
|
||||
activityMonitor = 'none',
|
||||
remoteDefaults = { },
|
||||
nodes = { },
|
||||
}
|
||||
Config.load('milo', config)
|
||||
|
||||
-- TODO: remove - temporary
|
||||
if config.remoteDefaults then
|
||||
config.nodes = config.remoteDefaults
|
||||
config.remoteDefaults = nil
|
||||
end
|
||||
|
||||
local modem = Peripheral.get('wired_modem')
|
||||
if not modem or not modem.getNameLocal then
|
||||
error('Wired modem is not connected')
|
||||
|
||||
Reference in New Issue
Block a user