1 |
From: "W. Trevor King" <wking@×××××××.us> |
2 |
|
3 |
As part of the OpenRC migration, the recommended place for configuring |
4 |
the default X session moved from /etc/rc.conf to /etc/env.d/90xsession |
5 |
[1]. |
6 |
|
7 |
[1]: http://www.gentoo.org/doc/en/openrc-migration.xml |
8 |
--- |
9 |
targets/support/livecdfs-update.sh | 3 +-- |
10 |
1 file changed, 1 insertion(+), 2 deletions(-) |
11 |
|
12 |
diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh |
13 |
index 77d694e..d95d537 100644 |
14 |
--- a/targets/support/livecdfs-update.sh |
15 |
+++ b/targets/support/livecdfs-update.sh |
16 |
@@ -171,8 +171,7 @@ fi |
17 |
# Setup configured default X Session |
18 |
if [ -n "${clst_livecd_xsession}" ] |
19 |
then |
20 |
- sed -i "s:#XSESSION=\"Gnome\":XSESSION=\"${clst_livecd_xsession}\":" \ |
21 |
- /etc/rc.conf |
22 |
+ echo "XSESSION=\"${clst_livecd_xsession}\"" > /etc/env.d/90xsession |
23 |
fi |
24 |
|
25 |
# touch /etc/asound.state |
26 |
-- |
27 |
1.8.2.rc0.16.g20a599e |