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

This commit is contained in:
Julian Bouzas 2021-05-10 11:49:44 -04:00
parent 3f60716f30
commit b46a907df4

View file

@ -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))