post_install() { if [ "`systemctl is-active homegear`" == "active" ] then homegear -e mld mod_insteon.so fi } post_upgrade() { post_install }