Interesting are the variables used during system start and therefore especially the ones that are no more available later.
portageq envvar ACCEPT_LICENSE
echo ${ACCEPT_LICENSE} will show nothing