Commit 19b02a27 authored by Lorenzo Faletra's avatar Lorenzo Faletra

drop lightdm autologin workarounds

parent f66c7560
...@@ -92,6 +92,3 @@ done ...@@ -92,6 +92,3 @@ done
if [ -x "$(which updatedb 2>/dev/null)" ]; then if [ -x "$(which updatedb 2>/dev/null)" ]; then
updatedb updatedb
fi fi
sed -i -e "s/^#.*autologin-user=.*\$/autologin-user=user/g" /etc/lightdm/lightdm.conf
sed -i -e "s/^#.*autologin-user-timeout=.*\$/autologin-user-timeout=0/g" /etc/lightdm/lightdm.conf
#!/bin/sh
set -e
# Disable lightdm autologin
in-target sh -c 'sed -i -e "s/^autologin-user=.*\$/#autologin-user=user/g" /etc/lightdm/lightdm.conf'
in-target sh -c 'sed -i -e "s/^autologin-user-timeout=.*\$/#autologin-user-timeout=0/g" /etc/lightdm/lightdm.conf'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment