Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jpawlowski committed Sep 17, 2018
1 parent ff57fac commit 5b5af6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ if [ -d "/fhem" ]; then
[ -z "$(cat ${FHEM_DIR}/fhem.cfg | grep 'attr global mseclog')" ] && echo "attr global mseclog 1" >> ${FHEM_DIR}/fhem.cfg
[ -z "$(cat ${FHEM_DIR}/fhem.cfg | grep 'attr global updateInBackground')" ] && echo "attr global updateInBackground 1" >> ${FHEM_DIR}/fhem.cfg
[ -z "$(cat ${FHEM_DIR}/fhem.cfg | grep " telnet ${TELNETPORT}")" ] && [ -z "$(cat ${FHEM_DIR}/fhem.cfg | grep '^define telnetPort telnet ')" ] && echo "define telnetPort telnet ${TELNETPORT}" >> ${FHEM_DIR}/fhem.cfg
fi
sed -i "s,attr global updateInBackground.*,attr global updateInBackground 1," ${FHEM_DIR}/fhem.cfg
(( i++ ))

Expand Down

0 comments on commit 5b5af6e

Please sign in to comment.