projects
/
catalyst.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a69cd
)
livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession
author
W. Trevor King
<wking@tremily.us>
Sat, 2 Mar 2013 19:17:01 +0000
(14:17 -0500)
committer
W. Trevor King
<wking@tremily.us>
Tue, 4 Jun 2013 16:22:41 +0000
(12:22 -0400)
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
targets/support/livecdfs-update.sh
patch
|
blob
|
history
diff --git
a/targets/support/livecdfs-update.sh
b/targets/support/livecdfs-update.sh
index 0928f173b028fd17119ee83a3c8bf9659ca537af..1c8e3d4c163eddc4711527c8af4a42e0f1dead90 100755
(executable)
--- 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