mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-08 07:20:28 +08:00
Switch out references to fedora in initscript and username to be generic
This commit is contained in:
@@ -179,7 +179,7 @@ DISPLAYMANAGER="KDE"
|
||||
EOF
|
||||
|
||||
# add initscript qnd # Fedora Electronic Lab: KDE keyboard layouts
|
||||
cat >> /etc/rc.d/init.d/fedora-live << EOF
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
|
||||
# use image also for kdm
|
||||
@@ -188,9 +188,9 @@ if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
|
||||
fi
|
||||
|
||||
# make fedora user use KDE
|
||||
echo "startkde" > /home/fedora/.xsession
|
||||
chmod a+x /home/fedora/.xsession
|
||||
chown fedora:fedora /home/fedora/.xsession
|
||||
echo "startkde" > /home/liveuser/.xsession
|
||||
chmod a+x /home/liveuser/.xsession
|
||||
chown fedora:fedora /home/liveuser/.xsession
|
||||
|
||||
# set up autologin for user fedora
|
||||
sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc
|
||||
|
||||
Reference in New Issue
Block a user