live-iso-gnome/hooks/1-add-autologin.chroot

7 lines
271 B
Plaintext
Raw Normal View History

2024-08-03 00:45:59 +02:00
#!/bin/bash
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 '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true