#! /bin/sh

if qcommand -t; then
	# Queue qcontrol for installation on supported devices
	apt-install qcontrol

	# qcontrol requires the gpio_keys module; add it in /etc/modules
	printf "\n\n# Required for qcontrol\n" >>/target/etc/modules
	printf "gpio_keys\n" >>/target/etc/modules
fi
