From 280360391931633f6507b8ebd2e7aca50fba3e6b Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Mon, 1 Oct 2018 17:19:56 +0200 Subject: [PATCH] Fix configuration file path references (#779) * Replace 'config/' and 'conf/' with '$OPENHAB_CONF/' Signed-off-by: Wouter Born * Replace ${openhab.home} with $OPENHAB_HOME in compatibilitylayer.md Signed-off-by: Wouter Born --- addons/actions.md | 2 +- addons/index.md | 2 +- administration/runtime.md | 6 +++--- configuration/addons.md | 2 +- configuration/eclipseiotmarket.md | 2 +- configuration/multimedia.md | 6 +++--- configuration/packages.md | 2 +- configuration/rules-dsl.md | 2 +- configuration/things.md | 2 +- developers/development/compatibilitylayer.md | 4 ++-- tutorials/beginner/rules.md | 4 ++-- tutorials/beginner/sitemap.md | 8 ++++---- tutorials/migration.md | 6 +++--- 13 files changed, 24 insertions(+), 24 deletions(-) diff --git a/addons/actions.md b/addons/actions.md index f56294eb7..f95f0c9d4 100644 --- a/addons/actions.md +++ b/addons/actions.md @@ -119,7 +119,7 @@ if ((thingStatusInfo != null) && (thingStatusInfo.getStatus().toString() == "ONL ### openHAB Subsystem Actions openHAB has several subsystems that can be accessed from Rules. These include persistence, see [Persistence Extensions in Scripts and Rules]({{base}}/configuration/persistence.html#persistence-extensions-in-scripts-and-rules), transformations, and scripts. -- `callScript(String scriptName)`: Calls a script which must be located in the config/scripts folder. +- `callScript(String scriptName)`: Calls a script which must be located in the `$OPENHAB_CONF/scripts` folder. Scripts are small pieces of Rules DSL code that can be called from Rules. However, Scripts have limitations. diff --git a/addons/index.md b/addons/index.md index f5dc50c92..b7d0e95b9 100644 --- a/addons/index.md +++ b/addons/index.md @@ -75,7 +75,7 @@ This is because the mqtt Binding is a 1.x add-on. The trailing `1` has to be appended for `binding`- and `misc`-addons. It is *not needed* for other addon types like `persistence`. -With this information we can now edit the *addons.cfg* file in the `config/services` folder on the machine you are running openHAB on. +With this information we can now edit the *addons.cfg* file in the `$OPENHAB_CONF/services` folder on the machine you are running openHAB on. The path is depending on your installation. You can find out the correct locations on the corresponding documentation pages, e.g. [Linux]({{base}}/installation/linux.html#file-locations) or [Windows]({{base}}/installation/windows.html#file-locations). diff --git a/administration/runtime.md b/administration/runtime.md index 97310b010..e3a84202e 100644 --- a/administration/runtime.md +++ b/administration/runtime.md @@ -89,8 +89,8 @@ Usage: smarthome:send - sends a command for an item | Command | Description | |---------|-------------| -| `smarthome:audio play [] ` | plays a sound file from the `conf/sounds` folder through the optionally specified audio sink(s) -| `smarthome:audio play ` | plays a sound file from the `conf/sounds` folder through the specified audio sink(s) with the specified volume +| `smarthome:audio play [] ` | plays a sound file from the `$OPENHAB_CONF/sounds` folder through the optionally specified audio sink(s) +| `smarthome:audio play ` | plays a sound file from the `$OPENHAB_CONF/sounds` folder through the specified audio sink(s) with the specified volume | `smarthome:audio stream [] ` | streams the sound from the url through the optionally specified audio sink(s) | `smarthome:audio sources` | lists the audio sources | `smarthome:audio sinks` | lists the audio sinks @@ -107,7 +107,7 @@ Usage: smarthome:send - sends a command for an item | Command | Description | |---------|-------------| -| `smarthome:>