From: W. Trevor King Date: Sat, 2 Mar 2013 19:17:01 +0000 (-0500) Subject: livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e6584ffd3f5ed879cbf6a5ab16bb954fb461b3d;p=catalyst.git livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession 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 --- diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index 0928f173..1c8e3d4c 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -171,8 +171,7 @@ fi # 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