summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Miller <admiller@redhat.com>2012-09-18 11:52:35 -0500
committerAdam Miller <admiller@redhat.com>2012-09-18 11:52:35 -0500
commit47cee69cb9aae097556e07720565ffa87c131fb4 (patch)
treeb4a4392fa603b7a1ba6ae6201504adb2ed1a3c36
parent7b1eb31c55103c9f2e9d98674d43e1658ce2566a (diff)
downloadspin-kickstarts-47cee69cb9aae097556e07720565ffa87c131fb4.tar.gz
spin-kickstarts-47cee69cb9aae097556e07720565ffa87c131fb4.tar.xz
spin-kickstarts-47cee69cb9aae097556e07720565ffa87c131fb4.zip
change up the sed command so lightdm autologin works for xfce spin
-rw-r--r--fedora-livecd-xfce.ks4
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