File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- # ~/.bash_profile: executed by bash(1) for interactive shells.
1+ # shellcheck shell= bash
22
33source /opt/openhabian/functions/helpers.bash
44
2828
2929echo
3030if [ -f ~ /.firemotd-cache ]; then
31- cat ~ /.firemotd-cache
31+ grep -v Platform ~ /.firemotd-cache
3232fi
3333(FireMotD --theme Gray > ~ /.firemotd-cache & ) & > /dev/null # does not use cache; might get removed in the near future
3434
@@ -38,6 +38,6 @@ OHBUILD="$(sed -n 's/build-no\s*: //p' /var/lib/${OHPKG}/etc/version.properties)
3838
3939echo -e " \\ n$( sed -e ' s|$OHVERSION|' " ${OHVERSION} " ' |g' -e ' s|$OHBUILD|' " ${OHBUILD} " ' |g' -e ' s|${HOSTNAME}|' " ${HOSTNAME} " ' |g' /opt/openhabian/includes/${OHPKG} logo) \\ n"
4040
41- if [[ -f $HOME /.profile ]]; then source $HOME /.profile; fi
41+ if [[ -f " $HOME " /.profile ]]; then source " $HOME " /.profile; fi
4242
4343# vim: filetype=sh
You can’t perform that action at this time.
0 commit comments