As part of the OpenRC migration, the recommended place for configuring
the default X session moved from /etc/rc.conf to /etc/env.d/90xsession
[1].
[1]: http://www.gentoo.org/doc/en/openrc-migration.xml
# Setup configured default X Session
if [ -n "${clst_livecd_xsession}" ]
then
- sed -i "s:#XSESSION=\"Gnome\":XSESSION=\"${clst_livecd_xsession}\":" \
- /etc/rc.conf
+ echo "XSESSION=\"${clst_livecd_xsession}\"" > /etc/env.d/90xsession
fi
# touch /etc/asound.state