Skip to content

Commit

Permalink
fixed bug in generating a fresh hmip_address.conf by letting HMIPServ…
Browse files Browse the repository at this point in the history
…er generate an own fresh one instead.
  • Loading branch information
jens-maus committed Jul 13, 2018
1 parent 6faa34e commit 4fa1c2c
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -34,13 +34,6 @@ init() {
fi
fi

if [[ ! -e /etc/config/hmip_address.conf ]]; then
if [[ -n "${HM_HMIP_ADDRESS}" ]]; then
echo "#$(date)" >/etc/config/hmip_address.conf
echo "Adapter.1.Address=$(echo ${HM_HMIP_ADDRESS} | sed -n 's/^0x\(.*\)/\1/p')" >>/etc/config/hmip_address.conf
fi
fi

if [[ -n "${HM_HMIP_DEV}" ]]; then

# if no uart is used to connect to the rf module (e.g. HmIP-RFUSB)
Expand Down

0 comments on commit 4fa1c2c

Please sign in to comment.