mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-15 13:13:08 +00:00
Escape ${PLASMA_SESSION_FILE}
...because this is a shell script created by a pile of echo commands. I mean, obviously. Duh. Nothing hard to understand here! Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
75e442287b
commit
49b20ffebd
@ -32,12 +32,12 @@ fi
|
||||
# set up autologin for user liveuser
|
||||
if [ -f /etc/sddm.conf ]; then
|
||||
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
|
||||
sed -i "s/^#Session=.*/Session=${PLASMA_SESSION_FILE}/" /etc/sddm.conf
|
||||
sed -i "s/^#Session=.*/Session=\${PLASMA_SESSION_FILE}/" /etc/sddm.conf
|
||||
else
|
||||
cat > /etc/sddm.conf << SDDM_EOF
|
||||
[Autologin]
|
||||
User=liveuser
|
||||
Session=${PLASMA_SESSION_FILE}
|
||||
Session=\${PLASMA_SESSION_FILE}
|
||||
SDDM_EOF
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user