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