diff --git a/includes/generic/bash_profile b/includes/generic/bash_profile index a9f82c4dc..15576d8fd 100644 --- a/includes/generic/bash_profile +++ b/includes/generic/bash_profile @@ -28,12 +28,11 @@ fi echo if [ -f ~/.firemotd-cache ]; then - cat ~/.firemotd-cache - fi - (FireMotD --theme Gray > ~/.firemotd-cache &) &>/dev/null # does not use cache; might get removed in the near future + cat ~/.firemotd-cache fi -OHPKG="openhab" +(FireMotD --theme Gray > ~/.firemotd-cache &) &>/dev/null # does not use cache; might get removed in the near future +OHPKG="openhab" OHVERSION="$(sed -n 's/openhab-distro\s*: //p' /var/lib/${OHPKG}/etc/version.properties)" OHBUILD="$(sed -n 's/build-no\s*: //p' /var/lib/${OHPKG}/etc/version.properties)"