+
+${CFGROOT}/etc/profile.d/retropie_autostart.sh: | _config
+ printf '%s\n' '[ "$$USER" = rpi ] && \\' \
+ 'if which emulationstation; then' ' emulationstation' \
+ 'else' ' sudo /opt/RetroPie-Setup/retropie_setup.sh' 'fi' \
+ >"$@"
+
+define RPICONFIG :=
+dtparam=audio=on
+gpu_mem_256=128
+gpu_mem_512=256
+gpu_mem_1024=256
+overscan_scale=1
+endef