Delete hooks/5-add-autologin.chroot

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-29 19:59:08 +02:00
parent 85569c8fad
commit 66a5e91ea4

View File

@ -1,9 +0,0 @@
#!/bin/bash
mkdir -p /etc/gdm3 || true
mkdir -p /etc/sddm.conf.d/ || true
echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/daemon.conf || true
sed '/WaylandEnable=false/ s/^\#*/\#/' -i /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
echo -e '[User]\nSession=gnome\nIcon=/home/pikaos/.face\nSystemAccount=false' > /var/lib/AccountsService/users/pikaos || true