1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
post_install() { cat <<EOF To enable the HAT, add the following entries as root within /boot/config.txt: i2c_arm=on spi=on dtoverlay=seeed-4mic-voicecard Or just reboot the system. EOF } post_upgrade() { post_install $1 }