From fa802091e69e485805c1ba1274460a809b778aa7 Mon Sep 17 00:00:00 2001 From: GermanBluefox Date: Sun, 28 Jun 2015 23:06:40 +0200 Subject: [PATCH] (bluefox) add iobroker.vis-metro adapter --- conf/sources-dist.json | 4 ++++ lib/setup.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/sources-dist.json b/conf/sources-dist.json index 430aea5682..1da289efac 100644 --- a/conf/sources-dist.json +++ b/conf/sources-dist.json @@ -154,6 +154,10 @@ "meta": "https://raw.githubusercontent.com/ioBroker/ioBroker.vis/master/io-package.json", "icon": "https://raw.githubusercontent.com/ioBroker/ioBroker.vis/master/admin/vis.png" }, + "vis-metro": { + "meta": "https://raw.githubusercontent.com/ioBroker/ioBroker.vis-metro/master/io-package.json", + "icon": "https://raw.githubusercontent.com/ioBroker/ioBroker.vis-metro/master/admin/metro.png" + }, "web": { "meta": "https://raw.githubusercontent.com/ioBroker/ioBroker.web/master/io-package.json", "icon": "https://raw.githubusercontent.com/ioBroker/ioBroker.web/master/admin/web.png" diff --git a/lib/setup.js b/lib/setup.js index 96ef53a2ee..8564fbf688 100644 --- a/lib/setup.js +++ b/lib/setup.js @@ -2660,7 +2660,7 @@ function createInstance(adapter, options, callback) { var _id = 'system.adapter.' + adapter + '.' + instance; var objs; - if (!instanceObj.common.onlyWWW) { + if (!instanceObj.common.onlyWWW && instanceObj.common.mode != 'once') { objs = [ { _id: _id + '.alive',