tmp upload

This commit is contained in:
Aliberk Sandıkçı 2023-10-23 20:55:15 +03:00
parent a33b3baa23
commit 702f10f324
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1
3 changed files with 10 additions and 3 deletions

View file

@ -205,7 +205,7 @@ _install() {
sleep 1
_log "Root Yapılandırmaları Uygulanıyor..." verbose
_sudo bash "$src_dir/root-config.sh"
_sudo bash "$src_dir/root-config.sh" "$src_dir"
_log "Root Yapılandırmaları Uygulandı..." info
fi

View file

@ -0,0 +1,2 @@
[Seat:*]
autologin-user=KULLANICI_ADI

View file

@ -4,5 +4,10 @@
### LIGHTDM
# Auto Login
user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$USER")
sed -i -e "/autologin-user=/ s/= .*/=${user}/" /usr/share/lightdm/lightdm.conf.d/99-pardus-lightdm-greeter-autologin.conf
echo "$1"
echo "$2"
echo "$3"
echo "$4"
echo "$5"
# user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$USER")
# sed -i -e "s/autologin-user=.*/autologin-user=${user}/" /usr/share/lightdm/lightdm.conf.d/99-pardus-lightdm-greeter-autologin.conf