mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +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
|
# set up autologin for user liveuser
|
||||||
if [ -f /etc/sddm.conf ]; then
|
if [ -f /etc/sddm.conf ]; then
|
||||||
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
|
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
|
else
|
||||||
cat > /etc/sddm.conf << SDDM_EOF
|
cat > /etc/sddm.conf << SDDM_EOF
|
||||||
[Autologin]
|
[Autologin]
|
||||||
User=liveuser
|
User=liveuser
|
||||||
Session=${PLASMA_SESSION_FILE}
|
Session=\${PLASMA_SESSION_FILE}
|
||||||
SDDM_EOF
|
SDDM_EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user