Added log and lock screen config.
This commit is contained in:
parent
27fd440e95
commit
7e2d0b7260
22
install.sh
22
install.sh
|
@ -14,6 +14,9 @@
|
|||
# $pwrt = root password
|
||||
# $pwcr = encryption password
|
||||
|
||||
exec >> >(tee -i /tmp/install.log)
|
||||
exec 2>&1
|
||||
|
||||
clear
|
||||
|
||||
# Friendly introduction.
|
||||
|
@ -374,6 +377,25 @@ EOF
|
|||
echo "Done."
|
||||
echo
|
||||
|
||||
# Adding sddm config.
|
||||
cat << EOF > /mnt/etc/sddm.conf.d/kde_settings.conf
|
||||
[Autologin]
|
||||
Relogin=false
|
||||
Session=plasma
|
||||
User=$user
|
||||
|
||||
[General]
|
||||
HaltCommand=/usr/bin/systemctl poweroff
|
||||
RebootCommand=/usr/bin/systemctl reboot
|
||||
|
||||
[Theme]
|
||||
Current=breeze
|
||||
|
||||
[Users]
|
||||
MaximumUid=60513
|
||||
MinimumUid=1000
|
||||
EOF
|
||||
|
||||
# Unmounting and rebooting.
|
||||
echo "Unmounting system.."
|
||||
umount /mnt/boot &&
|
||||
|
|
Loading…
Reference in New Issue