post_install() { echo '>>> Please run the following command as root to download' echo '>>> the required firmware for HomeMatic Wired devices:' echo '>>> # homegear-homematicwired-update-firmware' if [ "`systemctl is-active homegear`" == "active" ] then homegear -e mld mod_homematicwired.so fi } post_upgrade() { post_install }