#!/bin/sh

if [ ! -f /etc/homed/homed-zigbee.conf ]; then
    mkdir -p /etc/homed
    wget -O /etc/homed/homed-zigbee.conf https://opkg.vse-i.ru/deploy/homed-zigbee.conf
fi

opkg update
opkg install i-cloud i-manager homed-web homed-zigbee
