Update hooks/1-add-autologin.chroot

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-11 23:27:55 +02:00
parent 4c65516f33
commit 0a64039cda

View File

@ -2,5 +2,6 @@
mkdir -p /etc/gdm3 || true
mkdir -p /etc/sddm.conf.d/ || true
echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/custom.conf || true
echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/daemon.conf || true
ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf
echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true