[Fedora-spins] [spin-kickstarts/f18] change up the sed command so lightdm autologin works for xfce spin
Adam Miller
maxamillion at fedoraproject.org
Tue Sep 18 16:50:04 UTC 2012
commit 279a0e9b56c77b1e4712df87c36f532303953c70
Author: Adam Miller <admiller at redhat.com>
Date: Fri Sep 14 10:13:59 2012 -0500
change up the sed command so lightdm autologin works for xfce spin
fedora-livecd-xfce.ks | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/fedora-livecd-xfce.ks b/fedora-livecd-xfce.ks
index 6ac7185..58b9f29 100644
--- a/fedora-livecd-xfce.ks
+++ b/fedora-livecd-xfce.ks
@@ -78,8 +78,8 @@ mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml
cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
# set up lightdm autologin
-sed -ei '|^#autologin-user=|autologin-user=liveuser|' /etc/lightdm/lightdm.conf
-sed -ei '|^#autologin-user-timeout=0|autologin-user-timeout=10|' /etc/lightdm/lightdm.conf
+sed -i 's/^#autologin-user=/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
+sed -i 's/^#autologin-user-timeout=0/autologin-user-timeout=10/' /etc/lightdm/lightdm.conf
# Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
More information about the spins
mailing list