summarylogtreecommitdiffstats
path: root/homegear-homematicbidcos.install
blob: 00d3ac04857efecb938e71a3c650eeea42e8f83e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    echo '>>> Please run the following command as root to download'
    echo '>>> the required firmware for HomeMatic BidCoS devices:'
    echo '>>> # homegear-homematicbidcos-update-firmware'

    if [ "`systemctl is-active homegear`" == "active" ]
    then
        homegear -e mld mod_homematicbidcos.so
    fi
}

post_upgrade() {
    post_install
}