Commit b46a907d authored by Julian Bouzas's avatar Julian Bouzas
Browse files

create-item.lua: always enable monitor ports by default

parent 3f60716f
......@@ -16,6 +16,7 @@ function addItem (node, item_type)
-- configure item
if not items[id]:configure {
["node"] = node,
["enable.monitor"] = true,
["item.plugged.usec"] = GLib.get_monotonic_time(),
} then
Log.warning(items[id], "failed to configure item for node " .. tostring(id))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment